From: Lars Op den Kamp Date: Mon, 28 Nov 2011 22:55:11 +0000 (+0100) Subject: cec: added a few sleeps in the bus scan X-Git-Tag: upstream/2.2.0~1^2~44^2~83 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=12251a8773258f68964cdb5237d8086af073d92c;p=deb_libcec.git cec: added a few sleeps in the bus scan --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 2b8874b..0b834bf 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -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); } } }