Fixed bug with AF tuning while screenmute

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-06-10 19:02:37 +02:00
parent 2e614c4c6d
commit 58ee9fabee
+12 -1
View File
@@ -896,7 +896,10 @@ void loop() {
radio.clearRDS(fullsearchrds); radio.clearRDS(fullsearchrds);
} }
if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n"); if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n");
if (!screenmute) freqold = frequency; if (screenmute) {
freqold = frequency;
dropout = false;
}
store = true; store = true;
} }
} }
@@ -914,6 +917,10 @@ void loop() {
radio.clearRDS(fullsearchrds); radio.clearRDS(fullsearchrds);
} }
if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n"); if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n");
if (screenmute) {
freqold = frequency;
dropout = false;
}
store = true; store = true;
} }
} }
@@ -931,6 +938,10 @@ void loop() {
} }
if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n"); if (XDRGTKUSB || XDRGTKTCP) DataPrint("T" + String((frequency + ConverterSet * 100) * 10) + "\n");
store = true; store = true;
if (screenmute) {
freqold = frequency;
dropout = false;
}
} }
} }
} }