Move NOAA down and rename SetNWR

This commit is contained in:
Armel FAUVEAU
2024-12-10 00:55:18 +01:00
parent 0cffb1500b
commit 1d033e995b
2 changed files with 14 additions and 4 deletions

View File

@@ -70,8 +70,10 @@ const t_menu_item MenuList[] =
{"SList2", MENU_SLIST2 }, {"SList2", MENU_SLIST2 },
{"SList3", MENU_SLIST3 }, {"SList3", MENU_SLIST3 },
{"ScnRev", MENU_SC_REV }, {"ScnRev", MENU_SC_REV },
#ifdef ENABLE_NOAA #ifndef ENABLE_FEAT_F4HWN
{"NOAA-S", MENU_NOAA_S }, #ifdef ENABLE_NOAA
{"NOAA-S", MENU_NOAA_S },
#endif
#endif #endif
{"F1Shrt", MENU_F1SHRT }, {"F1Shrt", MENU_F1SHRT },
{"F1Long", MENU_F1LONG }, {"F1Long", MENU_F1LONG },
@@ -161,6 +163,9 @@ const t_menu_item MenuList[] =
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS #ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
{"SetKey", MENU_SET_KEY }, {"SetKey", MENU_SET_KEY },
#endif #endif
#ifdef ENABLE_NOAA
{"SetNWR", MENU_NOAA_S },
#endif
#endif #endif
// hidden menu items from here on // hidden menu items from here on
// enabled if pressing both the PTT and upper side button at power-on // enabled if pressing both the PTT and upper side button at power-on

View File

@@ -110,8 +110,10 @@ enum
#ifdef ENABLE_AM_FIX #ifdef ENABLE_AM_FIX
MENU_AM_FIX, MENU_AM_FIX,
#endif #endif
#ifdef ENABLE_NOAA #ifndef ENABLE_FEAT_F4HWN
MENU_NOAA_S, #ifdef ENABLE_NOAA
MENU_NOAA_S,
#endif
#endif #endif
MENU_RESET, MENU_RESET,
MENU_F_LOCK, MENU_F_LOCK,
@@ -150,6 +152,9 @@ enum
#ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS #ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS
MENU_SET_KEY, MENU_SET_KEY,
#endif #endif
#ifdef ENABLE_NOAA
MENU_NOAA_S,
#endif
#endif #endif
MENU_BATCAL, // battery voltage calibration MENU_BATCAL, // battery voltage calibration
MENU_F1SHRT, MENU_F1SHRT,