cmRtNet.c More changes to cmRtNetTest().

This commit is contained in:
kpl 2013-04-26 14:09:47 -07:00
parent b999a8e656
commit 110e5c28c4

View File

@ -781,9 +781,15 @@ bool _cmRtNetTestThreadFunc(void* param)
{ {
_cmRtNetTest_t* p = (_cmRtNetTest_t*)param; _cmRtNetTest_t* p = (_cmRtNetTest_t*)param;
if( cmRtNetIsValid(p->netH) )
{
if( cmRtNetIsInSyncMode(p->netH) )
cmRtNetSyncModeSend(p->netH);
if( cmRtNetIsValid(p->netH) && cmRtNetIsInSyncMode(p->netH) ) cmRtNetReceive(p->netH);
cmRtNetSyncModeSend(p->netH); }
cmSleepMs(40);
return true; return true;
} }