Xlite PPM/Heartbeat trainer input (#5881)

* Xlite PPM/Heartbeat trainer input

* UI adaptations

* Sky9x has no trainer settings!
This commit is contained in:
Andre Bernet
2018-05-21 10:06:59 +02:00
committed by Bertrand Songis
parent ae1aff6863
commit 25049d041d
10 changed files with 105 additions and 49 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ bool isTrainerModeAvailable(int mode)
#elif defined(PCBXLITE)
bool isTrainerModeAvailable(int mode)
{
if (g_eeGeneral.bluetoothMode == BLUETOOTH_TRAINER && (mode == TRAINER_MODE_MASTER_BLUETOOTH || mode == TRAINER_MODE_SLAVE_BLUETOOTH))
if ((g_eeGeneral.bluetoothMode == BLUETOOTH_TRAINER && (mode == TRAINER_MODE_MASTER_BLUETOOTH || mode == TRAINER_MODE_SLAVE_BLUETOOTH)) || mode == TRAINER_MODE_MASTER_CPPM_EXTERNAL_MODULE)
return true;
else
return false;