From d5f2d1c382ed700220cb1e964c9d7e6b335f6e79 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sat, 4 Jul 2020 12:15:33 +0200 Subject: [PATCH] Fix wrong frame type --- SerialPort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index e8d7812..70df849 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -1327,7 +1327,7 @@ void CSerialPort::writeFMData(const uint8_t* data, uint16_t length) writeInt(1U, reply, length + 4U); } else { reply[1U] = length + 3U; - reply[2U] = MMDVM_AX25_DATA; + reply[2U] = MMDVM_FM_DATA; for (uint8_t i = 0U; i < length; i++) reply[i + 3U] = data[i];