cmRtNet.c More changes to cmRtNetTest().
This commit is contained in:
parent
b999a8e656
commit
110e5c28c4
10
cmRtNet.c
10
cmRtNet.c
@ -781,10 +781,16 @@ bool _cmRtNetTestThreadFunc(void* param)
|
|||||||
{
|
{
|
||||||
_cmRtNetTest_t* p = (_cmRtNetTest_t*)param;
|
_cmRtNetTest_t* p = (_cmRtNetTest_t*)param;
|
||||||
|
|
||||||
|
if( cmRtNetIsValid(p->netH) )
|
||||||
if( cmRtNetIsValid(p->netH) && cmRtNetIsInSyncMode(p->netH) )
|
{
|
||||||
|
if( cmRtNetIsInSyncMode(p->netH) )
|
||||||
cmRtNetSyncModeSend(p->netH);
|
cmRtNetSyncModeSend(p->netH);
|
||||||
|
|
||||||
|
cmRtNetReceive(p->netH);
|
||||||
|
}
|
||||||
|
|
||||||
|
cmSleepMs(40);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user