Fix AF update on RDS loss
This commit is contained in:
+1
-1
@@ -595,7 +595,7 @@ void loop() {
|
|||||||
if (power == true) {
|
if (power == true) {
|
||||||
Communication();
|
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)) {
|
if ((aftest && millis() >= aftimer + 3000) || ((USN > 250 || WAM > 250) && millis() >= aftimer + 1000)) {
|
||||||
aftimer = millis();
|
aftimer = millis();
|
||||||
aftest = false;
|
aftest = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user