setup power delay instead of speed (#6694)

This commit is contained in:
Raphael Coeffic
2019-09-01 17:52:21 +02:00
committed by Bertrand Songis
parent 345d80cd94
commit 706e96de95
19 changed files with 68 additions and 69 deletions
+3 -2
View File
@@ -407,8 +407,9 @@ bool menuRadioSetup(event_t event)
#if defined(PWR_BUTTON_PRESS)
case ITEM_SETUP_PWR_OFF_SPEED:
lcdDrawText(MENUS_MARGIN_LEFT, y, STR_PWR_OFF_SPEED);
g_eeGeneral.pwrOffSpeed = editSlider(RADIO_SETUP_2ND_COLUMN, y, event, g_eeGeneral.pwrOffSpeed, -1, 2, attr);
lcdDrawText(MENUS_MARGIN_LEFT, y, STR_PWR_OFF_DELAY);
lcdDrawNumber(RADIO_SETUP_2ND_COLUMN, y, 2 - g_eeGeneral.pwrOffSpeed, attr|LEFT, 0, NULL, "m");
if (attr) CHECK_INCDEC_GENVAR(event, g_eeGeneral.pwrOffSpeed, -1, 2);
break;
#endif