Add new transparent data bypass.

master
Jonathan Naylor 2018-03-21 22:01:35 +00:00
parent 59ed3f07c8
commit 0ca06e2219
1 changed files with 6 additions and 0 deletions

View File

@ -68,6 +68,8 @@ const uint8_t MMDVM_NAK = 0x7FU;
const uint8_t MMDVM_SERIAL = 0x80U;
const uint8_t MMDVM_TRANSPARENT = 0x90U;
const uint8_t MMDVM_DEBUG1 = 0xF1U;
const uint8_t MMDVM_DEBUG2 = 0xF2U;
const uint8_t MMDVM_DEBUG3 = 0xF3U;
@ -759,6 +761,10 @@ void CSerialPort::process()
}
break;
case MMDVM_TRANSPARENT:
// Do nothing on the MMDVM.
break;
#if defined(SERIAL_REPEATER)
case MMDVM_SERIAL: {
for (uint8_t i = 3U; i < m_len; i++)