Telemetry/AVR/Unify serial driver

This commit is contained in:
PT_Dreamer
2017-02-04 12:03:20 +01:00
committed by Bertrand Songis
parent 2f9d9c1a99
commit f83aef4606
11 changed files with 181 additions and 392 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ bool sportWaitState(SportUpdateState state, int timeout)
for (int i=timeout/2; i>=0; i--) {
uint8_t byte ;
while (telemetryGetByte(&byte)) {
processFrskyTelemetryData(byte);
processSerialData(byte);
}
if (sportUpdateState == state) {
return true;