Cosmetics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user