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
+2 -2
View File
@@ -307,8 +307,8 @@ void CP25Gateway::run()
lostTimer.start();
}
}
} else if (buffer[0U] == 0x6AU || buffer[0U] == 0x73U) {
if (buffer[15U] == 0x00U && speech != NULL)
} else if (buffer[0U] == 0x80U) {
if (speech != NULL)
speech->eof();
}