Added MPX control in xdrgtk protocol

command 'L0' is normal, 'L1' is MPX mode
This commit is contained in:
Sjef Verhoeven PE5PVB
2025-11-27 20:39:01 +01:00
parent 1490ffa77b
commit 48cbaca7f5

View File

@@ -119,7 +119,6 @@ void Communication() {
if (afscreen || advancedRDS) { if (afscreen || advancedRDS) {
BuildDisplay(); BuildDisplay();
SelectBand(); SelectBand();
// ScreensaverTimerReopen();
} }
if (tempfreq >= FREQ_LW_LOW_EDGE_MIN && tempfreq <= FREQ_LW_HIGH_EDGE_MAX) { if (tempfreq >= FREQ_LW_LOW_EDGE_MIN && tempfreq <= FREQ_LW_HIGH_EDGE_MAX) {
@@ -600,6 +599,13 @@ void XDRGTKRoutine() {
DataPrint("K" + String(scanhold) + "\n"); DataPrint("K" + String(scanhold) + "\n");
break; break;
case 'L':
byte mpx;
mpx = atol(buff + 1);
DataPrint("L" + String(mpx) + "\n");
radio.setAudio(mpx);
break;
case 'M': case 'M':
if (scandxmode) cancelDXScan(); if (scandxmode) cancelDXScan();
byte XDRband; byte XDRband;