Bugfix: Don't search AF on stations without AF

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-08-03 15:38:40 +02:00
parent 0d3a4e033f
commit eba22aa41a

View File

@@ -892,7 +892,7 @@ void loop() {
if (af != 0 && dropout && millis() >= aftimer + 1000) { if (af != 0 && dropout && millis() >= aftimer + 1000) {
aftimer = millis(); aftimer = millis();
if (radio.af_counter == 0) { if (radio.af_counter == 0) {
if (findMemoryAF && radio.rds.correctPI != 0) { if (findMemoryAF && radio.rds.correctPI != 0 && tunemode == TUNE_MEM) {
radio.setMute(); radio.setMute();
tft.drawBitmap(92, 4, Speaker, 26, 22, PrimaryColor); tft.drawBitmap(92, 4, Speaker, 26, 22, PrimaryColor);
SQ = true; SQ = true;