1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-17 13:25:20 +03:00

Fix xlites trainer menu

This commit is contained in:
3djc 2018-08-16 10:58:33 +02:00 committed by Bertrand Songis
parent 7987042a1b
commit 73562b12f1
3 changed files with 13 additions and 5 deletions

View file

@ -215,7 +215,9 @@ enum BeeperMode {
};
#endif
#if defined(BLUETOOTH)
#if defined(PCBXLITES)
#define TRAINER_MODE_MAX() TRAINER_MODE_SLAVE
#elif defined(BLUETOOTH)
#define TRAINER_MODE_MAX() TRAINER_MODE_SLAVE_BLUETOOTH
#elif defined(PCBX7) || defined(PCBXLITE)
#define TRAINER_MODE_MAX() TRAINER_MODE_MASTER_CPPM_EXTERNAL_MODULE