diff --git a/code/Arduino/peripheral/ConnectionController.cpp b/code/Arduino/peripheral/ConnectionController.cpp index 99b396d..d9ca3ee 100644 --- a/code/Arduino/peripheral/ConnectionController.cpp +++ b/code/Arduino/peripheral/ConnectionController.cpp @@ -144,6 +144,7 @@ String ConnectionController::getCommand() { isConnected = false; waitForConnection(); + timer.reset(); continue; } @@ -163,6 +164,7 @@ String ConnectionController::getCommand() { isConnected = false; waitForConnection(); + timer.reset(); continue; }