diff --git a/uart/uart_feature_parse.cpp b/uart/uart_feature_parse.cpp index 0e66e99..b2ebad6 100644 --- a/uart/uart_feature_parse.cpp +++ b/uart/uart_feature_parse.cpp @@ -862,7 +862,10 @@ 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; g_mapCompress[strShortAddr].CountZ = 0;