Cosmetics

This commit is contained in:
Bertrand Songis
2019-05-27 18:43:46 +02:00
parent 64ff78b598
commit 2aacfd2cca
6 changed files with 50 additions and 15 deletions
+3 -1
View File
@@ -301,6 +301,7 @@ void stop_sbus_on_heartbeat_capture()
}
#endif
#if defined(SBUS)
int sbusGetByte(uint8_t * byte)
{
switch (currentTrainerMode) {
@@ -308,7 +309,7 @@ int sbusGetByte(uint8_t * byte)
case TRAINER_MODE_MASTER_SBUS_EXTERNAL_MODULE:
return heartbeatFifo.pop(*byte);
#endif
#if !defined(PCBX7) && !defined(PCBX9E) && !defined(PCBX9LITE) && !defined(PCBXLITE)
#if defined(SERIAL_USART)
case TRAINER_MODE_MASTER_BATTERY_COMPARTMENT:
return serial2RxFifo.pop(*byte);
#endif
@@ -316,3 +317,4 @@ int sbusGetByte(uint8_t * byte)
return false;
}
}
#endif