From 3b1eed6e07666194cf45ec0f3978328932c89463 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Thu, 23 May 2024 21:20:36 +0200 Subject: [PATCH] Fix problem when in memory mode a disabled band was called. --- TEF6686_ESP32.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index e84418e..cfb9fe7 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -2035,7 +2035,7 @@ void SelectBand() { #endif } LimitAMFrequency(); - if (!externaltune) CheckBandForbiddenAM(); + if (!externaltune && tunemode != TUNE_MEM) CheckBandForbiddenAM(); #ifdef HAS_AIR_BAND if (band == BAND_AIR) { radio.SetFreqAIR(10700); @@ -2081,7 +2081,7 @@ void SelectBand() { BWreset = true; BWset = BWsetFM; freqold = frequency_AM; - if (!externaltune) CheckBandForbiddenFM(); + if (!externaltune && tunemode != TUNE_MEM) CheckBandForbiddenFM(); doBW(); if (!screenmute) BuildDisplay(); }