PowerOff delay is in seconds, not minutes
This commit is contained in:
@@ -408,7 +408,7 @@ bool menuRadioSetup(event_t event)
|
|||||||
#if defined(PWR_BUTTON_PRESS)
|
#if defined(PWR_BUTTON_PRESS)
|
||||||
case ITEM_SETUP_PWR_OFF_SPEED:
|
case ITEM_SETUP_PWR_OFF_SPEED:
|
||||||
lcdDrawText(MENUS_MARGIN_LEFT, y, STR_PWR_OFF_DELAY);
|
lcdDrawText(MENUS_MARGIN_LEFT, y, STR_PWR_OFF_DELAY);
|
||||||
lcdDrawNumber(RADIO_SETUP_2ND_COLUMN, y, 2 - g_eeGeneral.pwrOffSpeed, attr|LEFT, 0, NULL, "m");
|
lcdDrawNumber(RADIO_SETUP_2ND_COLUMN, y, 2 - g_eeGeneral.pwrOffSpeed, attr|LEFT, 0, NULL, "s");
|
||||||
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