Skip to content

Commit 2d03844

Browse files
committed
🎨 Clang format
1 parent 48d6f78 commit 2d03844

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

‎src/Edward/proxy_supervisor.cpp‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ Event *parseJSON(char *buff) {
5454
return new Event(*parsed.find("topic"), payload);
5555
}
5656

57-
ProxySupervisor::ProxySupervisor(Channel *duplex, std::mutex *mutex) : Debugger(duplex) {
57+
ProxySupervisor::ProxySupervisor(Channel *duplex, std::mutex *mutex)
58+
: Debugger(duplex) {
5859
debug("Starting supervisor.\n");
5960
this->mutex = mutex;
6061
this->thread = std::thread(runSupervisor, this);
@@ -113,7 +114,8 @@ bool ProxySupervisor::send(
113114

114115
nlohmann::basic_json<> ProxySupervisor::readReply(RFC *rfc) {
115116
while (!this->hasReplied) {
116-
WARDuino::instance()->debugger->checkDebugMessages(rfc->m, &WARDuino::instance()->program_state);
117+
WARDuino::instance()->debugger->checkDebugMessages(
118+
rfc->m, &WARDuino::instance()->program_state);
117119
}
118120
WARDuino::instance()->debugger->channel->write("read reply: succeeded\n");
119121
this->hasReplied = false;

‎src/Edward/proxy_supervisor.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#include <set>
77
#include <thread>
88

9-
#include "../Utils/sockets.h"
109
#include "../Debug/debugger.h"
10+
#include "../Utils/sockets.h"
1111
#include "RFC.h"
1212
#ifndef ARDUINO
1313
#include <nlohmann/json.hpp>

0 commit comments

Comments
 (0)