X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FAdapterCommunication.cpp;h=661478396a58a8ce09f7d5ac992a45ffd27f7e0f;hb=eafd9beda6b5e5aafaccd7a0e3de65c632d494e0;hp=3f6f462581cdcfb757d00a663f0ad70f7779e0a8;hpb=d4052f0befbe5b7f1867611c66a5fa5ee4ea7fbf;p=deb_libcec.git diff --git a/src/lib/AdapterCommunication.cpp b/src/lib/AdapterCommunication.cpp index 3f6f462..6614783 100644 --- a/src/lib/AdapterCommunication.cpp +++ b/src/lib/AdapterCommunication.cpp @@ -313,9 +313,8 @@ void *CAdapterCommunication::Process(void) while (!IsStopped()) { ReadFromDevice(500); - sched_yield(); + Sleep(5); WriteNextCommand(); - sched_yield(); } return NULL;