Fix AF update on RDS loss

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-07-19 23:07:03 +02:00
parent 08dfc40063
commit 979c8d4029

View File

@@ -595,7 +595,7 @@ void loop() {
if (power == true) {
Communication();
if (af && radio.rds.correctPI != 0) {
if ((af && radio.rds.correctPI != 0) || aftest) {
if ((aftest && millis() >= aftimer + 3000) || ((USN > 250 || WAM > 250) && millis() >= aftimer + 1000)) {
aftimer = millis();
aftest = false;