diff --git a/nanovna.h b/nanovna.h index c4b7908..30bd4e7 100644 --- a/nanovna.h +++ b/nanovna.h @@ -18,7 +18,7 @@ */ #include "ch.h" -#ifdef TINYSA_F303 +//#ifdef TINYSA_F303 #ifdef TINYSA_F072 #error "Remove comment for #ifdef TINYSA_F303" #endif @@ -26,7 +26,7 @@ #define TINYSA4 #endif #define TINYSA4_PROTO -#endif +//#endif #ifdef TINYSA_F072 #ifdef TINYSA_F303 diff --git a/ui.c b/ui.c index 9df4471..2213175 100644 --- a/ui.c +++ b/ui.c @@ -3199,6 +3199,7 @@ static UI_FUNCTION_ADV_CALLBACK(menu_band_select_acb) active_band = data; setting.bands[active_band].enabled = true; dirty = true; + update_frequencies(); // BANDs_update(); menu_push_submenu(menu_BAND_modify); } @@ -3343,6 +3344,7 @@ static UI_FUNCTION_CALLBACK(menu_BAND_disable_cb) if (active_band