diff --git a/compile-with-docker.sh b/compile-with-docker.sh index c9480f5..a70b6b4 100755 --- a/compile-with-docker.sh +++ b/compile-with-docker.sh @@ -75,7 +75,7 @@ voxless() { ENABLE_FEAT_F4HWN_RESUME_STATE=0 \ ENABLE_FEAT_F4HWN_CHARGING_C=0 \ ENABLE_FEAT_F4HWN_INV=1 \ - ENABLE_FEAT_F4HWN_CTR=0 \ + ENABLE_FEAT_F4HWN_CTR=1 \ ENABLE_FEAT_F4HWN_NARROWER=0 \ ENABLE_FEAT_F4HWN_RESCUE_OPS=0 \ EDITION_STRING=Voxless \ diff --git a/ui/menu.c b/ui/menu.c index ce0ba5d..44d4c61 100644 --- a/ui/menu.c +++ b/ui/menu.c @@ -604,9 +604,11 @@ void UI_DisplayMenu(void) BACKLIGHT_TurnOn(); - uint8_t gaugeLine = 0; - uint8_t gaugeMin = 0; - uint8_t gaugeMax = 0; + #if !defined(ENABLE_SPECTRUM) || !defined(ENABLE_FMRADIO) + uint8_t gaugeLine = 0; + uint8_t gaugeMin = 0; + uint8_t gaugeMax = 0; + #endif switch (UI_MENU_GetCurrentMenuId()) {