Fix macro for detecting UI frames

This commit is contained in:
XANTRONIX Development 2020-05-27 18:13:18 -04:00 committed by XANTRONIX Industrial
parent 663965db71
commit c297aa7d03

View file

@ -62,7 +62,7 @@
(((c & 0xe0) == 0x40) && ((c & 0x0f) == 0x07))
#define PATTY_AX25_CONTROL_UNNUMBERED_INFO(c) \
(((c & 0xe0) == 0x00) && ((c & 0x0f) == 0x02))
(((c & 0xe0) == 0x00) && (c & 0x03))
#define PATTY_AX25_CONTROL_SEQ_SEND(c) \
((c & 0x0e) >> 1)