mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 14:25:11 +03:00
Always map xlite primary trims to Aileron/Elev (#5852)
This commit is contained in:
parent
b386dd23fb
commit
69bf7b3cd3
3 changed files with 9 additions and 3 deletions
|
@ -527,7 +527,13 @@ extern const pm_uint8_t modn12x3[];
|
|||
#define ELE_STICK 1
|
||||
#define THR_STICK 2
|
||||
#define AIL_STICK 3
|
||||
#define CONVERT_MODE(x) (((x)<=AIL_STICK) ? pgm_read_byte(modn12x3 + 4*g_eeGeneral.stickMode + (x)) : (x) )
|
||||
#define CONVERT_MODE(x) (((x)<=AIL_STICK) ? pgm_read_byte(modn12x3 + 4*g_eeGeneral.stickMode + (x)) : (x) )
|
||||
|
||||
#if defined(PCBXLITE)
|
||||
#define CONVERT_MODE_TRIMS(x) (((x) == RUD_STICK) ? AIL_STICK : ((x) == AIL_STICK) ? RUD_STICK : (x))
|
||||
#else
|
||||
#define CONVERT_MODE_TRIMS(x) CONVERT_MODE(x)
|
||||
#endif
|
||||
|
||||
extern uint8_t channel_order(uint8_t x);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue