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
m_processor->AddLog(CEC_LOG_DEBUG, "could not create a communication thread");
}
+ //TODO implement the timeout. use the variable for now to silence the compiler warning
+ iTimeoutMs = 0;
+
return false;
}
WriteNextCommand();
}
+ CCECAdapterMessage *msg;
+ if (m_outBuffer.Pop(msg))
+ msg->condition.Broadcast();
+
return NULL;
}