Fix: AF should not happen when in AF screen

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-27 12:35:21 +02:00
parent 8736f1dc87
commit 809f9a3f1f

View File

@@ -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();