Fixed AF after RDS loss (again)
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user