Fix PATTY_AX25_CONTROL_UNNUMBERED_INFO() macro

This commit is contained in:
XANTRONIX Development 2020-07-08 00:36:36 -04:00 committed by XANTRONIX Industrial
parent 84ae427037
commit 4d397f76f1

View file

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