Change EOF handling.

This commit is contained in:
Jonathan Naylor 2016-06-09 17:35:52 +01:00
parent 1bcd9c82b2
commit 489d6077fd
3 changed files with 3 additions and 3 deletions

View file

@ -226,7 +226,7 @@ void CYSFReflector::run()
}
}
if (buffer[34U] == 0x01U) {
if ((buffer[34U] & 0x01U) == 0x01U) {
LogMessage("Received end of transmission");
watchdogTimer.stop();
}