From 221be187474486aafc1dbb6abc8e15bdb83176e8 Mon Sep 17 00:00:00 2001 From: Christian Zietz Date: Sat, 26 Mar 2022 16:54:31 +0100 Subject: [PATCH] Fix frequency help texts in HIGH mode Only span should be shown from 0..720 MHz, start, stop, center, ... should be 240..960 MHz. Fixes: https://github.com/erikkaashoek/tinySA/issues/26 --- ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.c b/ui.c index 4263a59..d725999 100644 --- a/ui.c +++ b/ui.c @@ -946,7 +946,7 @@ menu_invoke(int item) if (menu->data <= KM_CW) { // One of the frequency input keypads if (MODE_LOW(setting.mode)) kp_help_text = VARIANT("0..350MHz",range_text); - else if (menu->data <= KM_SPAN) + else if (menu->data == KM_SPAN) kp_help_text = VARIANT("0..720Mhz",range_text); else kp_help_text = VARIANT("240..960Mhz",range_text);