diff --git a/radio/src/audio_arm.cpp b/radio/src/audio_arm.cpp index f03560fae..9f9bff8c9 100644 --- a/radio/src/audio_arm.cpp +++ b/radio/src/audio_arm.cpp @@ -390,7 +390,7 @@ void referenceModelAudioFiles() } // Logical Switches Audio Files -[on|off].wav - for (int i=0; i MIXSRC_POT2) source += 1; // PPM9-PPM16 added - if (source > MIXSRC_FIRST_PPM+7) + if (source > MIXSRC_FIRST_TRAINER+7) source += 8; // 4 GVARS added if (source > MIXSRC_GVAR1+4) diff --git a/radio/src/gui/menu_model.cpp b/radio/src/gui/menu_model.cpp index 7d235f845..7786abf2b 100644 --- a/radio/src/gui/menu_model.cpp +++ b/radio/src/gui/menu_model.cpp @@ -1286,6 +1286,7 @@ void menuModelSetup(uint8_t event) case ITEM_MODEL_BEEP_CENTER: lcd_putsLeft(y, STR_BEEPCTR); for (uint8_t i=0; i= 212 - #define EXPO_LINE_WEIGHT_POS 8*FW+3 - #define EXPO_LINE_SRC_POS 9*FW-2 - #define EXPO_LINE_CURVE_POS 12*FW+4 - #define EXPO_LINE_SWITCH_POS 17*FW-1 - #define EXPO_LINE_SIDE_POS 20*FW-2 + #define EXPO_LINE_WEIGHT_POS 8*FW+8 + #define EXPO_LINE_SRC_POS 9*FW+3 + #define EXPO_LINE_CURVE_POS 12*FW+11 + #define EXPO_LINE_TRIM_POS 19*FW-4 + #define EXPO_LINE_SWITCH_POS 20*FW-1 + #define EXPO_LINE_SIDE_POS 23*FW + #define EXPO_LINE_FM_POS 24*FW+2 #define EXPO_LINE_SELECT_POS 5*FW+2 - #define EXPO_LINE_FM_POS LCD_W-LEN_EXPOMIX_NAME*FW-MENUS_SCROLLBAR_WIDTH-FW #define EXPO_LINE_NAME_POS LCD_W-LEN_EXPOMIX_NAME*FW-MENUS_SCROLLBAR_WIDTH - #define MIX_LINE_WEIGHT_POS 11*FW+5 - #define MIX_LINE_CURVE_POS 12*FW+4 - #define MIX_LINE_SWITCH_POS 16*FW+1 - #define MIX_LINE_DELAY_POS 19*FW+2 + #define MIX_LINE_WEIGHT_POS 6*FW+8 + #define MIX_LINE_SRC_POS 7*FW+3 + #define MIX_LINE_CURVE_POS 13*FW+3 + #define MIX_LINE_SWITCH_POS 21*FW-1 + #define MIX_LINE_FM_POS 24*FW+2 + #define MIX_LINE_DELAY_POS 18*FW+2 #elif defined(CPUARM) #define EXPO_LINE_WEIGHT_POS 7*FW+1 #define EXPO_LINE_EXPO_POS 10*FW+5 @@ -3300,6 +3302,7 @@ static uint8_t s_copySrcCh; #define EXPO_LINE_SELECT_POS 24 #define EXPO_LINE_FM_POS #define EXPO_LINE_NAME_POS LCD_W-sizeof(ed->name)*FW-MENUS_SCROLLBAR_WIDTH + #define MIX_LINE_SRC_POS 4*FW-1 #define MIX_LINE_WEIGHT_POS 11*FW+3 #define MIX_LINE_CURVE_POS 12*FW+2 #define MIX_LINE_SWITCH_POS 16*FW @@ -3315,6 +3318,7 @@ static uint8_t s_copySrcCh; #endif #define EXPO_LINE_FM_POS LCD_W-FW-MENUS_SCROLLBAR_WIDTH #define EXPO_LINE_SELECT_POS 24 + #define MIX_LINE_SRC_POS 4*FW-1 #define MIX_LINE_WEIGHT_POS 11*FW+3 #define MIX_LINE_CURVE_POS 12*FW+2 #define MIX_LINE_SWITCH_POS 16*FW @@ -3567,6 +3571,8 @@ void menuModelExpoMix(uint8_t expo, uint8_t event) #endif #if defined(PCBTARANIS) + if (ed->carryTrim != TRIM_ON) + lcd_putc(EXPO_LINE_TRIM_POS, y, ed->carryTrim > 0 ? '-' : STR_RETA123[-ed->carryTrim]); putsCurveRef(EXPO_LINE_CURVE_POS, y, ed->curve, 0); #else if (ed->curveMode == MODE_CURVE) @@ -3580,7 +3586,7 @@ void menuModelExpoMix(uint8_t expo, uint8_t event) if (ed->mode!=3) lcd_putc(EXPO_LINE_SIDE_POS, y, ed->mode == 2 ? 126 : 127); #if defined(CPUARM) && LCD_W >= 212 - displayFlightModes(EXPO_LINE_FM_POS, y, ed->phases); + if (ed->phases) lcd_puts(EXPO_LINE_FM_POS, y, STR_FP); if (ed->name[0]) lcd_putsnAtt(EXPO_LINE_NAME_POS, y, ed->name, sizeof(ed->name), ZCHAR | (isExpoActive(i) ? BOLD : 0)); #elif defined(CPUARM) if (ed->name[0]) lcd_putsnAtt(EXPO_LINE_NAME_POS, y, ed->name, sizeof(ed->name), ZCHAR | (isExpoActive(i) ? BOLD : 0)); @@ -3601,10 +3607,6 @@ void menuModelExpoMix(uint8_t expo, uint8_t event) gvarWeightItem(MIX_LINE_WEIGHT_POS, y, md, attr | (isMixActive(i) ? BOLD : 0), event); -#if LCD_W >= 212 - displayFlightModes(EXPO_LINE_FM_POS, y, md->phases); -#endif - #if defined(CPUARM) if (md->name[0]) { lcd_putsnAtt(EXPO_LINE_NAME_POS, y, md->name, sizeof(md->name), ZCHAR | (isMixActive(i) ? BOLD : 0)); @@ -3615,6 +3617,8 @@ void menuModelExpoMix(uint8_t expo, uint8_t event) #endif { #if defined(PCBTARANIS) + putsCurveRef(MIX_LINE_CURVE_POS, y, md->curve, 0); + if (md->phases) lcd_puts(MIX_LINE_FM_POS, y, STR_FP); #else if (md->curveParam) { if (md->curveMode == MODE_CURVE) @@ -3623,7 +3627,9 @@ void menuModelExpoMix(uint8_t expo, uint8_t event) displayGVar(MIX_LINE_CURVE_POS+3*FW, y, md->curveParam, -100, 100); } #endif - if (md->swtch) putsSwitches(MIX_LINE_SWITCH_POS, y, md->swtch); + if (md->swtch) { + putsSwitches(MIX_LINE_SWITCH_POS, y, md->swtch); + } char cs = ' '; if (md->speedDown || md->speedUp) @@ -4409,7 +4415,7 @@ void menuModelLogicalSwitchOne(uint8_t event) void menuModelLogicalSwitches(uint8_t event) { - SIMPLE_MENU(STR_MENULOGICALSWITCHES, menuTabModel, e_LogicalSwitches, NUM_CSW+1); + SIMPLE_MENU(STR_MENULOGICALSWITCHES, menuTabModel, e_LogicalSwitches, NUM_LOGICAL_SWITCH+1); uint8_t y = 0; uint8_t k = 0; @@ -4527,7 +4533,7 @@ void menuModelLogicalSwitches(uint8_t event) { INCDEC_DECLARE_VARS(); - MENU(STR_MENULOGICALSWITCHES, menuTabModel, e_LogicalSwitches, NUM_CSW+1, {0, NAVIGATION_LINE_BY_LINE|LS_FIELD_LAST/*repeated...*/}); + MENU(STR_MENULOGICALSWITCHES, menuTabModel, e_LogicalSwitches, NUM_LOGICAL_SWITCH+1, {0, NAVIGATION_LINE_BY_LINE|LS_FIELD_LAST/*repeated...*/}); uint8_t y = 0; uint8_t k = 0; diff --git a/radio/src/gui/menus.cpp b/radio/src/gui/menus.cpp index ef0f4aa49..4d6a68755 100644 --- a/radio/src/gui/menus.cpp +++ b/radio/src/gui/menus.cpp @@ -1372,7 +1372,7 @@ bool isSourceAvailable(int source) return false; } - if (source>=MIXSRC_SW1 && source<=MIXSRC_LAST_CSW) { + if (source>=MIXSRC_SW1 && source<=MIXSRC_LAST_LOGICAL_SWITCH) { LogicalSwitchData * cs = cswAddress(source-MIXSRC_SW1); return (cs->func != LS_FUNC_NONE); } @@ -1421,7 +1421,7 @@ bool isInputSourceAvailable(int source) if (source>=MIXSRC_FIRST_CH && source<=MIXSRC_LAST_CH) return true; - if (source>=MIXSRC_FIRST_PPM && source<=MIXSRC_LAST_PPM) + if (source>=MIXSRC_FIRST_TRAINER && source<=MIXSRC_LAST_TRAINER) return true; if (source>=MIXSRC_FIRST_TELEM && source<=MIXSRC_LAST_TELEM) diff --git a/radio/src/gui/view_main.cpp b/radio/src/gui/view_main.cpp index 93405f4f9..dceea1a28 100644 --- a/radio/src/gui/view_main.cpp +++ b/radio/src/gui/view_main.cpp @@ -58,7 +58,7 @@ #define TIMER2_Y 45 #define TIMERS_R 193 #define REBOOT_X (LCD_W-FW) -#define VSWITCH_X(i) (((i>=NUM_CSW*3/4) ? BITMAP_X+28 : ((i>=NUM_CSW/2) ? BITMAP_X+25 : ((i>=NUM_CSW/4) ? 21 : 18))) + 3*i) +#define VSWITCH_X(i) (((i>=NUM_LOGICAL_SWITCH*3/4) ? BITMAP_X+28 : ((i>=NUM_LOGICAL_SWITCH/2) ? BITMAP_X+25 : ((i>=NUM_LOGICAL_SWITCH/4) ? 21 : 18))) + 3*i) #define VSWITCH_Y (LCD_H-9) #define BAR_HEIGHT (31-9) #define TRIM_LH_X (32+9) @@ -802,23 +802,23 @@ void menuMainView(uint8_t event) // Custom Switches #if defined(PCBSKY9X) - for (uint8_t i=0; i 2 - for (uint8_t i=0; i1 ? 3*FW+6 : 0), 4*FH+1 + (i%3)*FH, SWSRC_SW1+i, getSwitch(SWSRC_SW1+i) ? INVERS : 0); #elif defined(PCBGRUVIN9X) - for (uint8_t i=0; i1 ? 3*FW : 0), 4*FH+1 + (i%3)*FH, SWSRC_SW1+i, getSwitch(SWSRC_SW1+i) ? INVERS : 0); #elif !defined(PCBSTD) - for (uint8_t i=0; ifunc); @@ -537,7 +537,7 @@ static int luaModelGetLogicalSwitch(lua_State *L) static int luaModelSetLogicalSwitch(lua_State *L) { int idx = luaL_checkunsigned(L, 1); - if (idx < NUM_CSW) { + if (idx < NUM_LOGICAL_SWITCH) { LogicalSwitchData * sw = cswAddress(idx); luaL_checktype(L, -1, LUA_TTABLE); for (lua_pushnil(L); lua_next(L, -2); lua_pop(L, 1)) { diff --git a/radio/src/myeeprom.h b/radio/src/myeeprom.h index 698783f13..21563a8d2 100644 --- a/radio/src/myeeprom.h +++ b/radio/src/myeeprom.h @@ -73,11 +73,11 @@ #define MAX_PHASES 9 #define MAX_MIXERS 64 #define MAX_EXPOS 64 - #define NUM_CSW 32 // number of custom switches + #define NUM_LOGICAL_SWITCH 32 // number of custom switches #define NUM_CFN 64 // number of functions assigned to switches #define MAX_SCRIPTS 7 #define MAX_INPUTS 32 - #define NUM_PPM 16 + #define NUM_TRAINER 16 #define NUM_POTS 5 #define NUM_XPOTS 3 #elif defined(CPUARM) @@ -86,9 +86,9 @@ #define MAX_PHASES 9 #define MAX_MIXERS 64 #define MAX_EXPOS 32 - #define NUM_CSW 32 // number of custom switches + #define NUM_LOGICAL_SWITCH 32 // number of custom switches #define NUM_CFN 64 // number of functions assigned to switches - #define NUM_PPM 16 + #define NUM_TRAINER 16 #define NUM_POTS 3 #define NUM_XPOTS 0 #elif defined(CPUM2560) || defined(CPUM2561) @@ -97,9 +97,9 @@ #define MAX_PHASES 6 #define MAX_MIXERS 32 #define MAX_EXPOS 16 - #define NUM_CSW 15 // number of custom switches + #define NUM_LOGICAL_SWITCH 15 // number of custom switches #define NUM_CFN 24 // number of functions assigned to switches - #define NUM_PPM 8 + #define NUM_TRAINER 8 #define NUM_POTS 3 #define NUM_XPOTS 0 #elif defined(CPUM128) @@ -108,9 +108,9 @@ #define MAX_PHASES 5 #define MAX_MIXERS 32 #define MAX_EXPOS 14 - #define NUM_CSW 15 // number of custom switches + #define NUM_LOGICAL_SWITCH 15 // number of custom switches #define NUM_CFN 24 // number of functions assigned to switches - #define NUM_PPM 8 + #define NUM_TRAINER 8 #define NUM_POTS 3 #define NUM_XPOTS 0 #else @@ -119,9 +119,9 @@ #define MAX_PHASES 5 #define MAX_MIXERS 32 #define MAX_EXPOS 14 - #define NUM_CSW 12 // number of custom switches + #define NUM_LOGICAL_SWITCH 12 // number of custom switches #define NUM_CFN 16 // number of functions assigned to switches - #define NUM_PPM 8 + #define NUM_TRAINER 8 #define NUM_POTS 3 #define NUM_XPOTS 0 #endif @@ -1351,7 +1351,7 @@ enum SwitchSources { SWSRC_SWA, SWSRC_SWB, SWSRC_SWC, - SWSRC_LAST_CSW = SWSRC_SW1+NUM_CSW-1, + SWSRC_LAST_CSW = SWSRC_SW1+NUM_LOGICAL_SWITCH-1, SWSRC_ON, SWSRC_OFF = -SWSRC_ON, @@ -1444,16 +1444,16 @@ enum MixSources { MIXSRC_GEA, MIXSRC_TRN, #endif - MIXSRC_FIRST_CSW, - MIXSRC_SW1 = MIXSRC_FIRST_CSW, + MIXSRC_FIRST_LOGICAL_SWITCH, + MIXSRC_SW1 = MIXSRC_FIRST_LOGICAL_SWITCH, MIXSRC_SW9 = MIXSRC_SW1 + 8, MIXSRC_SWA, MIXSRC_SWB, MIXSRC_SWC, - MIXSRC_LAST_CSW = MIXSRC_FIRST_CSW+NUM_CSW-1, + MIXSRC_LAST_LOGICAL_SWITCH = MIXSRC_FIRST_LOGICAL_SWITCH+NUM_LOGICAL_SWITCH-1, - MIXSRC_FIRST_PPM, - MIXSRC_LAST_PPM = MIXSRC_FIRST_PPM+NUM_PPM-1, + MIXSRC_FIRST_TRAINER, + MIXSRC_LAST_TRAINER = MIXSRC_FIRST_TRAINER+NUM_TRAINER-1, MIXSRC_FIRST_CH, MIXSRC_CH1 = MIXSRC_FIRST_CH, @@ -1645,7 +1645,7 @@ PACK(typedef struct t_ModelData { CURVDATA curves[MAX_CURVES]; int8_t points[NUM_POINTS]; - LogicalSwitchData customSw[NUM_CSW]; + LogicalSwitchData customSw[NUM_LOGICAL_SWITCH]; CustomFnData funcSw[NUM_CFN]; SwashRingData swashR; PhaseData phaseData[MAX_PHASES]; diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index cc4541acd..41e3bcddb 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1248,7 +1248,7 @@ getvalue_t getValue(uint8_t i) else if (i==MIXSRC_SF) return (switchState(SW_SF0) ? -1024 : 1024); else if (i==MIXSRC_SG) return (switchState(SW_SG0) ? -1024 : (switchState(SW_SG1) ? 0 : 1024)); else if (i==MIXSRC_SH) return (switchState(SW_SH0) ? -1024 : 1024); - else if (i<=MIXSRC_LAST_CSW) return getSwitch(SWSRC_FIRST_CSW+i-MIXSRC_FIRST_CSW) ? 1024 : -1024; + else if (i<=MIXSRC_LAST_LOGICAL_SWITCH) return getSwitch(SWSRC_FIRST_CSW+i-MIXSRC_FIRST_LOGICAL_SWITCH) ? 1024 : -1024; #else else if (i==MIXSRC_3POS) return (getSwitch(SW_ID0-SW_BASE+1) ? -1024 : (getSwitch(SW_ID1-SW_BASE+1) ? 0 : 1024)); // don't use switchState directly to give getSwitch possibility to hack values if needed for switch warning @@ -1256,10 +1256,10 @@ getvalue_t getValue(uint8_t i) else if (i==MIXSRC_3POS2) return (getSwitch(SW_ID3-SW_BASE+1) ? -1024 : (getSwitch(SW_ID4-SW_BASE+1) ? 0 : 1024)); // don't use switchState directly to give getSwitch possibility to hack values if needed for switch warning #endif - else if (i<=MIXSRC_LAST_CSW) return getSwitch(SWSRC_THR+i-MIXSRC_THR) ? 1024 : -1024; + else if (i<=MIXSRC_LAST_LOGICAL_SWITCH) return getSwitch(SWSRC_THR+i-MIXSRC_THR) ? 1024 : -1024; #endif - else if (i<=MIXSRC_LAST_PPM) { int16_t x = g_ppmIns[i-MIXSRC_FIRST_PPM]; if (ifunc == LS_FUNC_TIMER) { int16_t *lastValue = &csLastValue[i]; @@ -4953,7 +4953,7 @@ void perMain() } } -int16_t g_ppmIns[NUM_PPM]; +int16_t g_ppmIns[NUM_TRAINER]; uint8_t ppmInState = 0; // 0=unsync 1..8= wait for value i-1 #if !defined(SIMU) && !defined(CPUARM) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 9a641efcd..61900032c 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -774,7 +774,7 @@ extern uint8_t trimsCheckTimer; extern volatile GETSWITCH_RECURSIVE_TYPE s_last_switch_used; extern volatile GETSWITCH_RECURSIVE_TYPE s_last_switch_value; -extern int16_t csLastValue[NUM_CSW]; +extern int16_t csLastValue[NUM_LOGICAL_SWITCH]; #define CS_LAST_VALUE_INIT -32768 #define TMR_OFF 0 @@ -1011,7 +1011,7 @@ extern uint8_t g_beepCnt; extern uint8_t g_beepVal[5]; extern uint8_t ppmInState; //0=unsync 1..8= wait for value i-1 -extern int16_t g_ppmIns[NUM_PPM]; +extern int16_t g_ppmIns[NUM_TRAINER]; extern int32_t chans[NUM_CHNOUT]; extern int16_t ex_chans[NUM_CHNOUT]; // Outputs (before LIMITS) of the last perMain extern int16_t channelOutputs[NUM_CHNOUT]; diff --git a/radio/src/translations.cpp b/radio/src/translations.cpp index 0317c083a..d8d7a850f 100644 --- a/radio/src/translations.cpp +++ b/radio/src/translations.cpp @@ -259,7 +259,7 @@ const pm_char STR_TMR1JITTERUS[] PROGMEM = TR_TMR1JITTERUS; const pm_char STR_TMIXMAXMS[] PROGMEM = TR_TMIXMAXMS; const pm_char STR_FREESTACKMINB[] PROGMEM = TR_FREESTACKMINB; const pm_char STR_MENUTORESET[] PROGMEM = TR_MENUTORESET; -const pm_char STR_PPM[] PROGMEM = TR_PPM; +const pm_char STR_PPM_TRAINER[] PROGMEM = TR_PPM_TRAINER; const pm_char STR_CH[] PROGMEM = TR_CH; const pm_char STR_MODEL[] PROGMEM = TR_MODEL; const pm_char STR_FP[] PROGMEM = TR_FP; diff --git a/radio/src/translations.h b/radio/src/translations.h index 3d60c6a1c..ee2e49cb3 100644 --- a/radio/src/translations.h +++ b/radio/src/translations.h @@ -420,7 +420,7 @@ extern const pm_char STR_TMR1JITTERUS[]; extern const pm_char STR_TMIXMAXMS[]; extern const pm_char STR_FREESTACKMINB[]; extern const pm_char STR_MENUTORESET[]; -extern const pm_char STR_PPM[]; +extern const pm_char STR_PPM_TRAINER[]; extern const pm_char STR_CH[]; extern const pm_char STR_MODEL[]; extern const pm_char STR_FP[]; diff --git a/radio/src/translations/cz.h.txt b/radio/src/translations/cz.h.txt index d8879cc91..b32758c6f 100644 --- a/radio/src/translations/cz.h.txt +++ b/radio/src/translations/cz.h.txt @@ -377,11 +377,11 @@ #endif #if defined(CPUARM) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF""LSG""LSH""LSI""LSJ""LSK""LSL""LSM""LSN""LSO""LSP""LSQ""LSR""LSS""LST""LSU""LSV""LSW" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15""L16""L17""L18""L19""L20""L21""L22""L23""L24""L25""L26""L27""L28""L29""L30""L31""L32" #elif defined(PCBGRUVIN9X) || defined(CPUM2561) || defined(CPUM128) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15" #else - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12" #endif #define TR_TRIMS_SWITCHES "tSl""tSp""tVd""tVn""tPd""tPn""tKl""tKp" @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" >> Reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODEL" #define TR_FP "LR" diff --git a/radio/src/translations/de.h.txt b/radio/src/translations/de.h.txt index 47f2f6dce..aa4285ab3 100644 --- a/radio/src/translations/de.h.txt +++ b/radio/src/translations/de.h.txt @@ -377,11 +377,11 @@ #endif #if defined(CPUARM) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF""LSG""LSH""LSI""LSJ""LSK""LSL""LSM""LSN""LSO""LSP""LSQ""LSR""LSS""LST""LSU""LSV""LSW" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15""L16""L17""L18""L19""L20""L21""L22""L23""L24""L25""L26""L27""L28""L29""L30""L31""L32" #elif defined(PCBGRUVIN9X) || defined(CPUM2561) || defined(CPUM128) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15" #else - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12" #endif #define TR_TRIMS_SWITCHES "tSl""tSr""tHd""tHu""tGd""tGu""tQl""tQr" @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" für Reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODELL" #define TR_FP "FP" diff --git a/radio/src/translations/en.h.txt b/radio/src/translations/en.h.txt index b3b32512b..d88175e55 100644 --- a/radio/src/translations/en.h.txt +++ b/radio/src/translations/en.h.txt @@ -377,11 +377,11 @@ #endif #if defined(CPUARM) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF""LSG""LSH""LSI""LSJ""LSK""LSL""LSM""LSN""LSO""LSP""LSQ""LSR""LSS""LST""LSU""LSV""LSW" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15""L16""L17""L18""L19""L20""L21""L22""L23""L24""L25""L26""L27""L28""L29""L30""L31""L32" #elif defined(PCBGRUVIN9X) || defined(CPUM2561) || defined(CPUM128) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15" #else - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12" #endif #define TR_TRIMS_SWITCHES "tRl""tRr""tEd""tEu""tTd""tTu""tAl""tAr" @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER " to reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODEL" #define TR_FP "FM" diff --git a/radio/src/translations/es.h.txt b/radio/src/translations/es.h.txt index 8aaa4df1d..f8d27c626 100644 --- a/radio/src/translations/es.h.txt +++ b/radio/src/translations/es.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER "Resetear" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODELO" #define TR_FP "FM" diff --git a/radio/src/translations/fi.h.txt b/radio/src/translations/fi.h.txt index 45212cd53..1cd7e2e09 100644 --- a/radio/src/translations/fi.h.txt +++ b/radio/src/translations/fi.h.txt @@ -377,11 +377,11 @@ #endif #if defined(CPUARM) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF""LSG""LSH""LSI""LSJ""LSK""LSL""LSM""LSN""LSO""LSP""LSQ""LSR""LSS""LST""LSU""LSV""LSW" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15""L16""L17""L18""L19""L20""L21""L22""L23""L24""L25""L26""L27""L28""L29""L30""L31""L32" #elif defined(PCBGRUVIN9X) || defined(CPUM2561) || defined(CPUM128) - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC""LSD""LSE""LSF" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12""L13""L14""L15" #else - #define TR_LOGICALSW "LS1""LS2""LS3""LS4""LS5""LS6""LS7""LS8""LS9""LSA""LSB""LSC" + #define TR_LOGICALSW "L1\0""L2\0""L3\0""L4\0""L5\0""L6\0""L7\0""L8\0""L9\0""L10""L11""L12" #endif #define TR_TRIMS_SWITCHES "tRl""tRr""tEd""tEu""tTd""tTu""tAl""tAr" @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER " to reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODEL" #define TR_FP "FM" diff --git a/radio/src/translations/fr.h.txt b/radio/src/translations/fr.h.txt index 7225beb21..37c09007f 100644 --- a/radio/src/translations/fr.h.txt +++ b/radio/src/translations/fr.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" pour reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODELE" #define TR_FP "PV" diff --git a/radio/src/translations/it.h.txt b/radio/src/translations/it.h.txt index 76b79f13f..5a227cf24 100644 --- a/radio/src/translations/it.h.txt +++ b/radio/src/translations/it.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" x Azzerare" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODELLO" #define TR_FP "FV" diff --git a/radio/src/translations/pl.h.txt b/radio/src/translations/pl.h.txt index 3d655e375..ee2525b57 100644 --- a/radio/src/translations/pl.h.txt +++ b/radio/src/translations/pl.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" >> Reset" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "KN" #define TR_MODEL "MODEL" #define TR_FP "FL" diff --git a/radio/src/translations/pt.h.txt b/radio/src/translations/pt.h.txt index 63e15471f..ab380dbcd 100644 --- a/radio/src/translations/pt.h.txt +++ b/radio/src/translations/pt.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER" Reinicia" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "CH" #define TR_MODEL "MODEL" #define TR_FP "FP" diff --git a/radio/src/translations/se.h.txt b/radio/src/translations/se.h.txt index f07d7589a..41313a7ae 100644 --- a/radio/src/translations/se.h.txt +++ b/radio/src/translations/se.h.txt @@ -575,7 +575,7 @@ #endif #define TR_MENUTORESET CENTER TR_ENTER " Nollar" -#define TR_PPM "PPM" +#define TR_PPM_TRAINER "TR" #define TR_CH "KN" #define TR_MODEL "Modell" #define TR_FP "FL"