Companion import / export issue for switches from X9D+ 2019

This commit is contained in:
Bertrand Songis
2019-08-29 17:11:53 +02:00
parent 52624710cd
commit a5d62805c3
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -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);