add: split PacketResponseNG status to status and reason

This commit is contained in:
douniwan5788 committed 2024-09-24 03:10:53 +08:00
1 parent 350ed787e1
commit 96d462acee
8 files changed
+36 -16

No files matched your search

+1
View File
@@ -481,6 +481,7 @@ __attribute__((force_align_arg_pointer))
uint16_t length = rx_raw.pre.length;
rx.ng = rx_raw.pre.ng;
rx.status = rx_raw.pre.status;
rx.reason = rx_raw.pre.reason;
rx.cmd = rx_raw.pre.cmd;
if (rx.magic == RESPONSENG_PREAMBLE_MAGIC) { // New style NG reply