You've already forked TEF6686_ESP32
Added MPX control in xdrgtk protocol
command 'L0' is normal, 'L1' is MPX mode
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user