wide lcd has 1 arg less in drawSlider
This commit is contained in:
@@ -473,13 +473,13 @@ void menuRadioSetup(event_t event)
|
|||||||
#if defined(PWR_BUTTON_PRESS)
|
#if defined(PWR_BUTTON_PRESS)
|
||||||
case ITEM_RADIO_SETUP_PWR_ON_SPEED:
|
case ITEM_RADIO_SETUP_PWR_ON_SPEED:
|
||||||
lcdDrawTextAlignedLeft(y, STR_PWR_ON_SPEED);
|
lcdDrawTextAlignedLeft(y, STR_PWR_ON_SPEED);
|
||||||
drawSlider(RADIO_SETUP_2ND_COLUMN, y, LCD_W - 2 - RADIO_SETUP_2ND_COLUMN, g_eeGeneral.pwrOnSpeed +1, 3, attr);
|
drawSlider(RADIO_SETUP_2ND_COLUMN, y, g_eeGeneral.pwrOnSpeed +1, 3, attr);
|
||||||
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.pwrOnSpeed, -1, 2);
|
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.pwrOnSpeed, -1, 2);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ITEM_RADIO_SETUP_PWR_OFF_SPEED:
|
case ITEM_RADIO_SETUP_PWR_OFF_SPEED:
|
||||||
lcdDrawTextAlignedLeft(y, STR_PWR_OFF_SPEED);
|
lcdDrawTextAlignedLeft(y, STR_PWR_OFF_SPEED);
|
||||||
drawSlider(RADIO_SETUP_2ND_COLUMN, y, LCD_W - 2 - RADIO_SETUP_2ND_COLUMN, g_eeGeneral.pwrOffSpeed +1, 3, attr);
|
drawSlider(RADIO_SETUP_2ND_COLUMN, y, g_eeGeneral.pwrOffSpeed +1, 3, attr);
|
||||||
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.pwrOffSpeed, -1, 2);
|
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.pwrOffSpeed, -1, 2);
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user