Modify the protocol and simplify the speech generation.

This commit is contained in:
Jonathan Naylor
2016-11-01 19:09:31 +00:00
parent 168cdbeec7
commit 411173efdc
3 changed files with 75 additions and 74 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ void CP25Parrot::run()
parrot.write(buffer, len);
watchdogTimer.start();
if ((buffer[0U] == 0x6AU && buffer[15U] == 0x00U) || (buffer[0U] == 0x73U && buffer[15U] == 0x00U)) {
if (buffer[0U] == 0x80U) {
LogDebug("Received end of transmission");
turnaroundTimer.start();
watchdogTimer.stop();