From 8e25fdb5531524562b8c7907237b688a76b4c2e4 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Mon, 23 Oct 2023 13:54:43 +0800 Subject: [PATCH] update --- protocol_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol_parser.cpp b/protocol_parser.cpp index ef25e55..2a87956 100644 --- a/protocol_parser.cpp +++ b/protocol_parser.cpp @@ -23,7 +23,7 @@ using namespace std; } #define PROCESS_PACKET_XX_END(ackNum) \ - if (ecode != 0) { \ + if (ecode == 0) { \ m_cancmder->sendAck(rxcmd, ack, ackNum); \ return; \ } \