mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Fix
This commit is contained in:
parent
9f6f683d44
commit
650acb6c8b
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue