From 6abe94ae7bdc14f3b005d32d7274a84de3382330 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Wed, 1 Mar 2023 08:21:17 +0100 Subject: [PATCH] UPdates added --- nanovna.h | 4 ++-- ui.c | 5 +++++ vna_browser.c | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) 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