Bugfix: AF should not work when in menu or in afpage
This commit is contained in:
@@ -623,6 +623,7 @@ void loop() {
|
|||||||
if (power == true) {
|
if (power == true) {
|
||||||
Communication();
|
Communication();
|
||||||
|
|
||||||
|
if (!menu && !afpage) {
|
||||||
if (band == BAND_FM && af && radio.rds.correctPI != 0) {
|
if (band == BAND_FM && af && radio.rds.correctPI != 0) {
|
||||||
if ((aftest && millis() >= aftimer + 3000) || ((USN > 250 || WAM > 250) && millis() >= aftimer + 1000)) {
|
if ((aftest && millis() >= aftimer + 3000) || ((USN > 250 || WAM > 250) && millis() >= aftimer + 1000)) {
|
||||||
aftimer = millis();
|
aftimer = millis();
|
||||||
@@ -647,6 +648,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (seek == true) Seek(direction);
|
if (seek == true) Seek(direction);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user