From a4cefe340198443086aa714eef58995c8b9aeb13 Mon Sep 17 00:00:00 2001 From: Krzysiek Egzmont Date: Sat, 2 Dec 2023 15:31:19 +0100 Subject: [PATCH] FIX #167: F7+ band accessible even if WIDE_RX = 0 --- app/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/main.c b/app/main.c index e78c0e2..98b87d7 100644 --- a/app/main.c +++ b/app/main.c @@ -154,11 +154,14 @@ static void processFKeyFunction(const KEY_Code_t Key, const bool beep) return; } +#ifdef ENABLE_WIDE_RX if(gTxVfo->Band == 6 && gTxVfo->pRX->Frequency < 100000000) { gTxVfo->pRX->Frequency = 100000000; return; } - else { + else +#endif + { Band = gTxVfo->Band + 1; if (gSetting_350EN || Band != BAND5_350MHz) { if (Band > BAND7_470MHz)