mirror of
https://github.com/opentx/opentx.git
synced 2025-07-14 03:49:52 +03:00
Companion import / export issue for switches from X9D+ 2019
This commit is contained in:
parent
52624710cd
commit
a5d62805c3
3 changed files with 9 additions and 5 deletions
|
@ -293,7 +293,7 @@ char * getSwitchPositionName(char * dest, swsrc_t idx)
|
|||
}
|
||||
#else
|
||||
#define IDX_TRIMS_IN_STR_VSWITCHES (1)
|
||||
#define IDX_ON_IN_STR_VSWITCHES (IDX_TRIMS_IN_STR_VSWITCHES+SWSRC_LAST_TRIM-SWSRC_FIRST_TRIM+1)
|
||||
#define IDX_ON_IN_STR_VSWITCHES (IDX_TRIMS_IN_STR_VSWITCHES + SWSRC_LAST_TRIM - SWSRC_FIRST_TRIM + 1)
|
||||
if (idx <= SWSRC_LAST_SWITCH) {
|
||||
div_t swinfo = switchInfo(idx);
|
||||
s = getSwitchName(s, idx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue