mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 12:55:12 +03:00
x9e with horus bt module (#5214)
* Basics to allow Horus BT module on X9E * wip * Temporary hack to prevent X9E to enter reset loop * The wait game starts :) * Temporary compil fixes * More sensibles defines
This commit is contained in:
parent
06f5e408ee
commit
6f3577c9a5
9 changed files with 37 additions and 17 deletions
|
@ -152,7 +152,7 @@
|
|||
#define CASE_SDCARD(x)
|
||||
#endif
|
||||
|
||||
#if defined(BLUETOOTH) && !(defined(PCBX9E) && !defined(DEBUG))
|
||||
#if defined(BLUETOOTH) && !(defined(PCBX9E) && !defined(USEHORUSBT))
|
||||
#define CASE_BLUETOOTH(x) x,
|
||||
#else
|
||||
#define CASE_BLUETOOTH(x)
|
||||
|
@ -200,7 +200,7 @@
|
|||
#define CASE_PCBX9E(x)
|
||||
#endif
|
||||
|
||||
#if defined(BLUETOOTH) && (!defined(PCBX9E) || defined(DEBUG))
|
||||
#if defined(BLUETOOTH) && !(defined(PCBX9E) && !defined(USEHORUSBT))
|
||||
#define CASE_BLUETOOTH(x) x,
|
||||
#else
|
||||
#define CASE_BLUETOOTH(x)
|
||||
|
@ -231,7 +231,7 @@
|
|||
#define IS_FAI_FORBIDDEN(idx) (IS_FAI_ENABLED() && idx >= MIXSRC_FIRST_TELEM)
|
||||
|
||||
#if defined(BLUETOOTH)
|
||||
#if defined(X9E)
|
||||
#if defined(X9E) && !defined(USEHORUSBT)
|
||||
#define IS_BLUETOOTH_TRAINER() (g_model.trainerMode == TRAINER_MODE_SLAVE_BLUETOOTH)
|
||||
#define IS_SLAVE_TRAINER() (g_model.trainerMode == TRAINER_MODE_SLAVE)
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue