Navigation bug in protocol selection (9X/9XR only)

This commit is contained in:
bsongis
2014-09-10 12:15:09 +02:00
parent 651b1247fb
commit 11ae62cff9
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -1692,7 +1692,7 @@ void menuModelSetup(uint8_t event)
if (IS_PPM_PROTOCOL(protocol)) { if (IS_PPM_PROTOCOL(protocol)) {
lcd_putsiAtt(MODEL_SETUP_2ND_COLUMN+7*FW, y, STR_NCHANNELS, g_model.ppmNCH+2, m_posHorz!=0 ? attr : 0); lcd_putsiAtt(MODEL_SETUP_2ND_COLUMN+7*FW, y, STR_NCHANNELS, g_model.ppmNCH+2, m_posHorz!=0 ? attr : 0);
} }
else if (attr) { else if (m_posHorz>0 && attr) {
MOVE_CURSOR_FROM_HERE(); MOVE_CURSOR_FROM_HERE();
} }
if (attr && (editMode>0 || p1valdiff || (!IS_PPM_PROTOCOL(protocol) && !IS_DSM2_PROTOCOL(protocol)))) { if (attr && (editMode>0 || p1valdiff || (!IS_PPM_PROTOCOL(protocol) && !IS_DSM2_PROTOCOL(protocol)))) {
+5 -1
View File
@@ -536,7 +536,11 @@
#define TR_TTRIM TR("T-Trim", INDENT "Trim Idle Only") #define TR_TTRIM TR("T-Trim", INDENT "Trim Idle Only")
#define TR_BEEPCTR TR("Ctr Beep", "Center Beep") #define TR_BEEPCTR TR("Ctr Beep", "Center Beep")
#define TR_PROTO TR(INDENT "Proto", INDENT "Protocol") #define TR_PROTO TR(INDENT "Proto", INDENT "Protocol")
#define TR_PPMFRAME TR(INDENT "PPM frame", INDENT "PPM frame") #if defined(CPUARM)
#define TR_PPMFRAME INDENT "PPM frame"
#else
#define TR_PPMFRAME "PPM frame"
#endif
#define TR_MS "ms" #define TR_MS "ms"
#define TR_SWITCH "Switch" #define TR_SWITCH "Switch"
#define TR_TRIMS "Trims" #define TR_TRIMS "Trims"