cec: removed no longer needed sleep in CUSBCECAdapterCommunication::Process()
authorLars Op den Kamp <lars@opdenkamp.eu>
Wed, 28 Mar 2012 19:05:55 +0000 (21:05 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Wed, 28 Mar 2012 19:05:55 +0000 (21:05 +0200)
src/lib/CECProcessor.h

index ce32fea53d516794c4224304d8836a3784ced31b..5956dc3d68ea78dc8825aceb5c2df6346146131a 100644 (file)
@@ -64,7 +64,7 @@ namespace CEC
         bReturn = m_inBuffer.Push(command);
 
       m_bHasData |= bReturn;
-      if (bReturn)
+      if (m_bHasData)
         m_condition.Signal();
 
       return bReturn;