mirror of https://github.com/g4klx/MMDVM.git
Fix minimum packet size.
This commit is contained in:
parent
0e8f20e1cc
commit
6a80d0ec09
|
@ -209,7 +209,7 @@ bool CAX25Demodulator::HDLC(bool b)
|
|||
|
||||
switch (m_hdlcBuffer) {
|
||||
case 0x7E:
|
||||
if (m_frame.m_length >= 13U) {
|
||||
if (m_frame.m_length >= 15U) {
|
||||
result = m_frame.checkCRC();
|
||||
if (!result)
|
||||
m_frame.m_length = 0U;
|
||||
|
|
Loading…
Reference in New Issue