Skip to content

Commit

Permalink
Merge pull request #312 from HassoPlattnerInstituteHCI/hotfix
Browse files Browse the repository at this point in the history
added reset message when revision id not matching because of serial error
  • Loading branch information
JotaroS authored Jun 24, 2020
2 parents 4a65cea + 7ab8aae commit ad2554e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/serial/src/cppLib/lib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void CppLib::poll()
}
else
{
logString("Revision id not matching");
logString("Revision id not matching. Maybe try reset the device?");
}
break;
}
Expand Down
2 changes: 1 addition & 1 deletion utils/serial/src/node/poll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ napi_value Node::poll(napi_env env, napi_callback_info info)
{
std::cout
<< "Received invalid revision id " << receivedRevision
<< " (expected " << c_revision << ")." << std::endl;
<< " (expected " << c_revision << "). Maybe try reset the device?" << std::endl;
}
break;
}
Expand Down

0 comments on commit ad2554e

Please sign in to comment.