mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-15 00:04:11 +02:00
Silently ignore the frequency setting command.
This commit is contained in:
@@ -27,6 +27,7 @@ const uint8_t MMDVM_GET_VERSION = 0x00U;
|
|||||||
const uint8_t MMDVM_GET_STATUS = 0x01U;
|
const uint8_t MMDVM_GET_STATUS = 0x01U;
|
||||||
const uint8_t MMDVM_SET_CONFIG = 0x02U;
|
const uint8_t MMDVM_SET_CONFIG = 0x02U;
|
||||||
const uint8_t MMDVM_SET_MODE = 0x03U;
|
const uint8_t MMDVM_SET_MODE = 0x03U;
|
||||||
|
const uint8_t MMDVM_SET_FREQ = 0x04U;
|
||||||
|
|
||||||
const uint8_t MMDVM_CAL_DATA = 0x08U;
|
const uint8_t MMDVM_CAL_DATA = 0x08U;
|
||||||
|
|
||||||
@@ -351,6 +352,10 @@ void CSerialPort::process()
|
|||||||
sendNAK(err);
|
sendNAK(err);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case MMDVM_SET_FREQ:
|
||||||
|
sendAck();
|
||||||
|
break;
|
||||||
|
|
||||||
case MMDVM_CAL_DATA:
|
case MMDVM_CAL_DATA:
|
||||||
if (m_modemState == STATE_CALIBRATE)
|
if (m_modemState == STATE_CALIBRATE)
|
||||||
err = calTX.write(m_buffer + 3U, m_len - 3U);
|
err = calTX.write(m_buffer + 3U, m_len - 3U);
|
||||||
|
|||||||
Reference in New Issue
Block a user