X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2FAdapterCommunication.cpp;h=54077d6ed776b4b6ef72f0dcc0d76cffd948ab45;hb=dfb08039104f9477f7a974977ec31ce30a4fa92c;hp=5541bf56a5381febe2a64264b897099fff2d1cc6;hpb=ae693aaa8545b853946bf490dd0444c5862bafb9;p=deb_libcec.git diff --git a/src/lib/AdapterCommunication.cpp b/src/lib/AdapterCommunication.cpp index 5541bf5..54077d6 100644 --- a/src/lib/AdapterCommunication.cpp +++ b/src/lib/AdapterCommunication.cpp @@ -43,7 +43,6 @@ using namespace CEC; CCECAdapterMessage::CCECAdapterMessage(const cec_command &command) { clear(); - maxTries = command.retries + 1; //set ack polarity to high when transmitting to the broadcast address //set ack polarity low when transmitting to any other address @@ -328,6 +327,10 @@ void *CAdapterCommunication::Process(void) WriteNextCommand(); } + CCECAdapterMessage *msg; + if (m_outBuffer.Pop(msg)) + msg->condition.Broadcast(); + return NULL; }