This commit is contained in:
Bertrand Songis
2019-11-07 13:39:38 +01:00
parent 9b05060a1a
commit 3f0ce109ad
5 changed files with 12 additions and 11 deletions
+3
View File
@@ -727,6 +727,9 @@ bool isTrainerModeAvailable(int mode)
#if defined(PCBTARANIS) && !defined(TRAINER_BATTERY_COMPARTMENT)
if (mode == TRAINER_MODE_MASTER_BATTERY_COMPARTMENT)
return false;
#elif defined(PCBTARANIS)
if (mode == TRAINER_MODE_MASTER_BATTERY_COMPARTMENT)
return g_eeGeneral.auxSerialMode == UART_MODE_SBUS_TRAINER;
#endif
#if defined(PCBX9E)