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;