Skip to content

Commit

Permalink
Debug info about bad command was added
Browse files Browse the repository at this point in the history
  • Loading branch information
AJIOB committed Sep 4, 2017
1 parent c1343c5 commit 73403ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/Arduino/peripheral/ConnectionController.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ void ConnectionController::waitForConnection()
//check first part of command (if that command is connection command)
if (readInfo.length() < sizeof (connectCommand) || (readInfo.substring(0, sizeof(connectCommand) - 1) != connectCommand))
{
DEBUG_PRINTLN("Bad info");
DEBUG_PRINT("Bad info: ");
DEBUG_PRINTLNHEX(readInfo);
continue;
}

Expand Down

0 comments on commit 73403ca

Please sign in to comment.