Small speed improvements

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-02-03 18:38:50 +01:00
parent 5650864dd9
commit 892cb28860
5 changed files with 21 additions and 10 deletions

View File

@@ -568,18 +568,22 @@ void XDRGTKRoutine() {
XDRGTKdata = false;
}
if (band > BAND_GAP) {
DataPrint("Sm");
} else {
if (!StereoToggle) {
DataPrint("SS");
} else if (Stereostatus) {
DataPrint("Ss");
} else {
if (millis() >= signalstatustimer + 66) {
if (band > BAND_GAP) {
DataPrint("Sm");
} else {
if (!StereoToggle) {
DataPrint("SS");
} else if (Stereostatus) {
DataPrint("Ss");
} else {
DataPrint("Sm");
}
}
DataPrint(String(((SStatus * 100) + 10875) / 1000) + "." + String(((SStatus * 100) + 10875) / 100 % 10) + "," + String(WAM / 10) + "," + String(CN) + "," + String(BW) + "\n\n");
signalstatustimer = millis();
}
DataPrint(String(((SStatus * 100) + 10875) / 1000) + "." + String(((SStatus * 100) + 10875) / 100 % 10) + "," + String(WAM / 10) + "," + String(CN) + "," + String(BW) + "\n\n");
}
void passwordcrypt() {