Fix for XDRGTK scan

This commit is contained in:
Sjef Verhoeven PE5PVB
2023-08-10 20:31:16 +02:00
parent 7746b0a832
commit e75afaeacb
3 changed files with 2 additions and 20 deletions
+2 -1
View File
@@ -411,10 +411,11 @@ void XDRGTKRoutine() {
}
frequencyold = frequency;
for (freq_scan = scanner_start; freq_scan <= scanner_end; freq_scan += scanner_step) {
radio.SetFreq(freq_scan);
DataPrint(String(freq_scan * 10, DEC));
DataPrint(" = ");
if (band < BAND_GAP) radio.getStatus(SStatus, USN, WAM, OStatus, BW, MStatus, SNR); else radio.getStatusAM(SStatus, USN, WAM, OStatus, BW, MStatus, SNR);
DataPrint(String((radio.CheckSignal(freq_scan) / 10) + 10, DEC));
DataPrint(String((SStatus / 10) + 10, DEC));
DataPrint(", ");
}
DataPrint("\n");