Fixed AF after RDS loss (again)

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-08-11 20:39:18 +02:00
parent ff088136a9
commit 48ce184a27
2 changed files with 0 additions and 2 deletions
-1
View File
@@ -661,7 +661,6 @@ void loop() {
Communication(); Communication();
if (!menu && !afscreen) { if (!menu && !afscreen) {
if (af && dropout && millis() >= aftimer + 1000) { if (af && dropout && millis() >= aftimer + 1000) {
aftimer = millis(); aftimer = millis();
frequency = radio.TestAF(); frequency = radio.TestAF();
-1
View File
@@ -572,7 +572,6 @@ void readRds() {
tft.fillCircle(200, 41, 5, SignificantColor); tft.fillCircle(200, 41, 5, SignificantColor);
} }
if (radio.rds.correctPI != 0) dropout = true; if (radio.rds.correctPI != 0) dropout = true;
aftimer = millis();
} else { } else {
if (dropout == true) { if (dropout == true) {
if (advancedRDS) tftPrint(-1, PIold, 244, 75, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(-1, PIold, 244, 187, PrimaryColor, PrimaryColorSmooth, 28); if (advancedRDS) tftPrint(-1, PIold, 244, 75, PrimaryColor, PrimaryColorSmooth, 28); else tftPrint(-1, PIold, 244, 187, PrimaryColor, PrimaryColorSmooth, 28);