Merge branch 'dg102_refine_schedule' of http://192.168.0.10:3000/pandx/WLG into dg102_refine_schedule

This commit is contained in:
zhangsheng 2025-04-11 14:28:42 +08:00
commit 621fdf21e9

View File

@ -862,7 +862,10 @@ void Uart::DealWave() {
{ {
scheduler::instance().WaveSuccess(wave_shortAddr); 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].CountX = 0;
g_mapCompress[strShortAddr].CountY = 0; g_mapCompress[strShortAddr].CountY = 0;
g_mapCompress[strShortAddr].CountZ = 0; g_mapCompress[strShortAddr].CountZ = 0;