Fix minimum packet size.

This commit is contained in:
Jonathan Naylor 2020-06-17 22:33:13 +01:00
parent 0e8f20e1cc
commit 6a80d0ec09
1 changed files with 1 additions and 1 deletions

View File

@ -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;