mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-11 22:34:12 +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_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);
|
||||
|
||||
Reference in New Issue
Block a user