From e571cca8520ee165aece9f6878f08e8699848a5e Mon Sep 17 00:00:00 2001 From: zhangsheng Date: Fri, 11 Apr 2025 14:01:06 +0800 Subject: [PATCH] fix bugs --- uart/uart_feature_parse.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/uart/uart_feature_parse.cpp b/uart/uart_feature_parse.cpp index fe197e5..c29f592 100644 --- a/uart/uart_feature_parse.cpp +++ b/uart/uart_feature_parse.cpp @@ -860,6 +860,11 @@ void Uart::DealWave() { { scheduler::instance().WaveSuccess(wave_shortAddr); } + + if (g_mapCompress[strShortAddr].CountX <= 0 && g_mapCompress[strShortAddr].CountY <= 0 && g_mapCompress[strShortAddr].CountZ <= 0) + { + scheduler::instance().WaveError(wave_shortAddr); + } g_mapCompress[strShortAddr].CountX = 0; g_mapCompress[strShortAddr].CountY = 0;