General menu fixup

This commit is contained in:
romolo.manfredini@gmail.com
2012-04-13 20:46:10 +00:00
parent 1da0ad3926
commit bedc673b98
3 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -84,6 +84,7 @@ enum menuProcSetupItems {
#ifdef HAPTIC
ITEM_SETUP_HAPTIC_MODE,
ITEM_SETUP_HAPTIC_STRENGTH,
ITEM_SETUP_HAPTIC_LENGTH,
#endif
#ifdef SPLASH
ITEM_SETUP_SPLASH,
@@ -107,7 +108,7 @@ void menuProcSetup(uint8_t event)
#define AUDIO_ZEROS
#endif
#ifdef HAPTIC
#define HAPTIC_ZEROS 0, 0,
#define HAPTIC_ZEROS 0, 0, 0,
#else
#define HAPTIC_ZEROS
#endif
@@ -196,7 +197,7 @@ void menuProcSetup(uint8_t event)
}subN++;
if(s_pgOfs<subN) {
lcd_putsLeft( y, PSTR("Haptic Length")); //to do translations
lcd_putsLeft( y, STR_HAPTICLENGTH); //to do translations
lcd_putsiAtt(PARAM_OFS - 2*FW, y, STR_VBEEPLEN, 2+g_eeGeneral.hapticLength, (sub==subN ? INVERS:0));
if(sub==subN) CHECK_INCDEC_GENVAR(event, g_eeGeneral.hapticLength, -2, 2);
if((y+=FH)>7*FH) return;