From 610168e861de82dc920bd3acec4edce9cc413395 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 18 Feb 2016 09:06:09 +0000 Subject: [PATCH] Silently ignore the frequency setting command. --- SerialPort.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SerialPort.cpp b/SerialPort.cpp index 640f1da..6713bc5 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -27,6 +27,7 @@ const uint8_t MMDVM_GET_VERSION = 0x00U; const uint8_t MMDVM_GET_STATUS = 0x01U; const uint8_t MMDVM_SET_CONFIG = 0x02U; const uint8_t MMDVM_SET_MODE = 0x03U; +const uint8_t MMDVM_SET_FREQ = 0x04U; const uint8_t MMDVM_CAL_DATA = 0x08U; @@ -351,6 +352,10 @@ void CSerialPort::process() sendNAK(err); break; + case MMDVM_SET_FREQ: + sendAck(); + break; + case MMDVM_CAL_DATA: if (m_modemState == STATE_CALIBRATE) err = calTX.write(m_buffer + 3U, m_len - 3U);