File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff 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
114115nlohmann::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 ;
Original file line number Diff line number Diff line change 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>
You can’t perform that action at this time.
0 commit comments