From: Lars Op den Kamp Date: Wed, 28 Mar 2012 19:05:55 +0000 (+0200) Subject: cec: removed no longer needed sleep in CUSBCECAdapterCommunication::Process() X-Git-Tag: upstream/2.2.0~1^2~31^2~40 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=4548e663ae767a26cd06e7826a3d7659ff7577c7;p=deb_libcec.git cec: removed no longer needed sleep in CUSBCECAdapterCommunication::Process() --- diff --git a/src/lib/CECProcessor.h b/src/lib/CECProcessor.h index ce32fea..5956dc3 100644 --- a/src/lib/CECProcessor.h +++ b/src/lib/CECProcessor.h @@ -64,7 +64,7 @@ namespace CEC bReturn = m_inBuffer.Push(command); m_bHasData |= bReturn; - if (bReturn) + if (m_bHasData) m_condition.Signal(); return bReturn;