From 110e5c28c4d9e508aed6152396fcdf2b280908d7 Mon Sep 17 00:00:00 2001 From: kpl Date: Fri, 26 Apr 2013 14:09:47 -0700 Subject: [PATCH] cmRtNet.c More changes to cmRtNetTest(). --- cmRtNet.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cmRtNet.c b/cmRtNet.c index 2216c06..83a0fc1 100644 --- a/cmRtNet.c +++ b/cmRtNet.c @@ -781,9 +781,15 @@ bool _cmRtNetTestThreadFunc(void* param) { _cmRtNetTest_t* p = (_cmRtNetTest_t*)param; - - if( cmRtNetIsValid(p->netH) && cmRtNetIsInSyncMode(p->netH) ) - cmRtNetSyncModeSend(p->netH); + if( cmRtNetIsValid(p->netH) ) + { + if( cmRtNetIsInSyncMode(p->netH) ) + cmRtNetSyncModeSend(p->netH); + + cmRtNetReceive(p->netH); + } + + cmSleepMs(40); return true; }