From 6a80d0ec0987e434945a491c0b7d56aeaf6e888e Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Wed, 17 Jun 2020 22:33:13 +0100 Subject: [PATCH] Fix minimum packet size. --- AX25Demodulator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AX25Demodulator.cpp b/AX25Demodulator.cpp index d378e59..89eff0a 100644 --- a/AX25Demodulator.cpp +++ b/AX25Demodulator.cpp @@ -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;