File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -296,7 +296,8 @@ void RFC::deserializeRFCResult() {
296
296
297
297
// Retreive new callbackmapping
298
298
std::string message = std::to_string (interruptDUMPCallbackmapping) + " \n " ;
299
- ProxyServer::getServer ()->send ((char *) message.c_str (), (int ) message.length ());
299
+ ProxyServer::getServer ()->send ((char *)message.c_str (),
300
+ (int )message.length ());
300
301
}
301
302
302
303
void RFC::call (StackValue *arguments) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ bool CallbackHandler::resolving_event = false;
16
16
#ifdef ARDUINO
17
17
size_t CallbackHandler::pushed_cursor = 0 ;
18
18
19
- bool should_push_event (SocketServer *server) { // TODO replace with WARDuinoDrone RunningState check
19
+ bool should_push_event (SocketServer *server) {
20
20
return server != nullptr && server->hasPushClient () &&
21
21
CallbackHandler::pushed_cursor < CallbackHandler::event_count ();
22
22
}
You can’t perform that action at this time.
0 commit comments