mirror of https://github.com/g4klx/MMDVM.git
Silently ignore the frequency setting command.
This commit is contained in:
parent
48368252f7
commit
610168e861
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue