From 809f9a3f1f12e3ba90edec137a8a82fbc6acec27 Mon Sep 17 00:00:00 2001 From: Sjef Verhoeven PE5PVB Date: Thu, 27 Jul 2023 12:35:21 +0200 Subject: [PATCH] Fix: AF should not happen when in AF screen --- TEF6686_ESP32.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TEF6686_ESP32.ino b/TEF6686_ESP32.ino index 505692c..2850c9d 100644 --- a/TEF6686_ESP32.ino +++ b/TEF6686_ESP32.ino @@ -625,7 +625,7 @@ void loop() { if (power == true) { Communication(); - if (!menu && !afpage) { + if (!menu && !afscreen) { if (band == BAND_FM && af && radio.rds.correctPI != 0) { if ((aftest && millis() >= aftimer + 3000) || ((USN > 250 || WAM > 250) && millis() >= aftimer + 1000)) { aftimer = millis();