Skip to content

Commit

Permalink
Timer resetting was added after connecting new device (arduino-fw)
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB committed Sep 4, 2017
1 parent 65a8044 commit 4f4f9f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/Arduino/peripheral/ConnectionController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ String ConnectionController::getCommand()
{
isConnected = false;
waitForConnection();
timer.reset();
continue;
}

Expand All @@ -163,6 +164,7 @@ String ConnectionController::getCommand()
{
isConnected = false;
waitForConnection();
timer.reset();
continue;
}

Expand Down

0 comments on commit 4f4f9f4

Please sign in to comment.