1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00
This commit is contained in:
3djc 2020-04-25 15:48:26 +02:00
parent 9f6f683d44
commit 650acb6c8b

View file

@ -747,6 +747,11 @@ bool isTrainerModeAvailable(int mode)
return false;
#endif
#if !defined(BLUETOOTH)
if (mode == TRAINER_MODE_MASTER_BLUETOOTH || mode == TRAINER_MODE_SLAVE_BLUETOOTH)
return false;
#endif
#if defined(PCBXLITE) && !defined(PCBXLITES)
if (mode == TRAINER_MODE_MASTER_TRAINER_JACK || mode == TRAINER_MODE_SLAVE)
return false;