Fix SABM control field test macro
This commit is contained in:
parent
bdb73c8805
commit
cec916a44a
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue