This commit is contained in:
Bertrand Songis
2019-03-20 08:59:29 +01:00
parent 775ac40aaa
commit 933f323a00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ const MenuHandlerFunc menuTabGeneral[] = {
menuRadioTools, menuRadioTools,
menuRadioSpecialFunctions, menuRadioSpecialFunctions,
menuRadioTrainer, menuRadioTrainer,
menuRadioVersion, menuRadioHardware,
menuRadioHardware menuRadioVersion
}; };
void menuRadioSpecialFunctions(event_t event) void menuRadioSpecialFunctions(event_t event)
+1 -1
View File
@@ -76,8 +76,8 @@ enum MenuRadioIndexes {
MENU_RADIO_TOOLS, MENU_RADIO_TOOLS,
MENU_RADIO_SPECIAL_FUNCTIONS, MENU_RADIO_SPECIAL_FUNCTIONS,
MENU_RADIO_TRAINER, MENU_RADIO_TRAINER,
MENU_RADIO_VERSION,
MENU_RADIO_HARDWARE, MENU_RADIO_HARDWARE,
MENU_RADIO_VERSION,
MENU_RADIO_PAGES_COUNT MENU_RADIO_PAGES_COUNT
}; };
@@ -40,7 +40,7 @@ void menuRadioPowerMeter(event_t event)
} }
coord_t y = MENU_HEADER_HEIGHT + 1 + FH; coord_t y = MENU_HEADER_HEIGHT + 1 + FH;
LcdFlags attr = (menuVerticalPosition - HEADER_LINE == 0 ? INVERS : 0); LcdFlags attr = (menuVerticalPosition == 0 ? INVERS : 0);
lcdDrawText(0, y, "Freq."); lcdDrawText(0, y, "Freq.");
lcdDrawNumber(8*FW, y, reusableBuffer.powerMeter.freq, LEFT|attr|(s_editMode > 0 ? BLINK : 0)); lcdDrawNumber(8*FW, y, reusableBuffer.powerMeter.freq, LEFT|attr|(s_editMode > 0 ? BLINK : 0));
lcdDrawText(lcdNextPos, y, "MHz"); lcdDrawText(lcdNextPos, y, "MHz");