cec: added a few sleeps in the bus scan
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 28 Nov 2011 22:55:11 +0000 (23:55 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 28 Nov 2011 22:55:11 +0000 (23:55 +0100)
src/lib/CECProcessor.cpp

index 2b8874b709d6099d3ba3615e0d32647fc633b140..0b834bf545fb8eee2387c9f3f130ddff9d1dc98b 100644 (file)
@@ -392,8 +392,11 @@ void CCECProcessor::ScanCECBus(void)
     if (device && device->GetStatus() == CEC_DEVICE_STATUS_PRESENT)
     {
       device->GetPhysicalAddress();
+      Sleep(5);
       device->GetCecVersion();
+      Sleep(5);
       device->GetVendorId();
+      Sleep(5);
     }
   }
 }