fix bugs
This commit is contained in:
parent
6162e2152e
commit
e571cca852
@ -861,6 +861,11 @@ 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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user