diff --git a/ui/menu.c b/ui/menu.c index 0ea3138..096d704 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -70,8 +70,10 @@ const t_menu_item MenuList[] = {"SList2", MENU_SLIST2 }, {"SList3", MENU_SLIST3 }, {"ScnRev", MENU_SC_REV }, -#ifdef ENABLE_NOAA - {"NOAA-S", MENU_NOAA_S }, +#ifndef ENABLE_FEAT_F4HWN + #ifdef ENABLE_NOAA + {"NOAA-S", MENU_NOAA_S }, + #endif #endif {"F1Shrt", MENU_F1SHRT }, {"F1Long", MENU_F1LONG }, @@ -161,6 +163,9 @@ const t_menu_item MenuList[] = #ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS {"SetKey", MENU_SET_KEY }, #endif +#ifdef ENABLE_NOAA + {"SetNWR", MENU_NOAA_S }, +#endif #endif // hidden menu items from here on // enabled if pressing both the PTT and upper side button at power-on diff --git a/ui/menu.h b/ui/menu.h index abe6e90..4b106aa 100644 --- a/ui/menu.h +++ b/ui/menu.h @@ -110,8 +110,10 @@ enum #ifdef ENABLE_AM_FIX MENU_AM_FIX, #endif -#ifdef ENABLE_NOAA - MENU_NOAA_S, +#ifndef ENABLE_FEAT_F4HWN + #ifdef ENABLE_NOAA + MENU_NOAA_S, + #endif #endif MENU_RESET, MENU_F_LOCK, @@ -150,6 +152,9 @@ enum #ifdef ENABLE_FEAT_F4HWN_RESCUE_OPS MENU_SET_KEY, #endif + #ifdef ENABLE_NOAA + MENU_NOAA_S, + #endif #endif MENU_BATCAL, // battery voltage calibration MENU_F1SHRT,