Fix SABM control field test macro

This commit is contained in:
XANTRONIX Development 2020-06-26 23:02:21 -04:00 committed by XANTRONIX Industrial
parent bdb73c8805
commit cec916a44a

View file

@ -47,7 +47,7 @@
((c & 0xe0) >> 5)
#define PATTY_AX25_CONTROL_UNNUMBERED_SABM(c) \
(((c & 0xe0) == 0x10) && ((c & 0x0f) == 0x0f))
(((c & 0xe0) == 0x20) && ((c & 0x0f) == 0x0f))
#define PATTY_AX25_CONTROL_UNNUMBERED_DISC(c) \
(((c & 0xe0) == 0x20) && ((c & 0x0f) == 0x03))