Added command 'K' to XDRGTK protocol to adjust scanhold

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-06-11 20:19:56 +02:00
parent c2e697d13b
commit 776aaef787
2 changed files with 12 additions and 0 deletions

View File

@@ -515,6 +515,17 @@ void XDRGTKRoutine() {
DataPrint("J" + String(scandxtemp) + "\n");
break;
case 'K':
byte scanholdtemp;
scanholdtemp = atol(buff + 1);
if (scanholdtemp < 31) {
scanhold = scanholdtemp;
EEPROM.writeByte(EE_BYTE_SCANHOLD, scanhold);
EEPROM.commit();
}
DataPrint("K" + String(scanhold) + "\n");
break;
case 'M':
byte XDRband;
XDRband = atol(buff + 1);