Skip to content

Commit b8cf8ed

Browse files
committed
Clang format
1 parent f2b938f commit b8cf8ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/RFC/rfc.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ void RFC::deserializeRFCResult() {
296296

297297
// Retreive new callbackmapping
298298
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());
300301
}
301302

302303
void RFC::call(StackValue *arguments) {

src/WARDuino/CallbackHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ bool CallbackHandler::resolving_event = false;
1616
#ifdef ARDUINO
1717
size_t CallbackHandler::pushed_cursor = 0;
1818

19-
bool should_push_event(SocketServer *server) { // TODO replace with WARDuinoDrone RunningState check
19+
bool should_push_event(SocketServer *server) {
2020
return server != nullptr && server->hasPushClient() &&
2121
CallbackHandler::pushed_cursor < CallbackHandler::event_count();
2222
}

0 commit comments

Comments
 (0)