cec: and reverted the previous commit again (partially) cause it wouldn't compile...
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:42:51 +0000 (00:42 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 2 Nov 2011 23:42:51 +0000 (00:42 +0100)
src/lib/AdapterCommunication.cpp

index 3f6f462581cdcfb757d00a663f0ad70f7779e0a8..661478396a58a8ce09f7d5ac992a45ffd27f7e0f 100644 (file)
@@ -313,9 +313,8 @@ void *CAdapterCommunication::Process(void)
   while (!IsStopped())
   {
     ReadFromDevice(500);
-    sched_yield();
+    Sleep(5);
     WriteNextCommand();
-    sched_yield();
   }
 
   return NULL;