cec: always send a power on command in CCECBusDevice::PowerOn()
[deb_libcec.git] / src / lib / devices / CECPlaybackDevice.cpp
index cee7c492e72f4c4f5c6b976ae7c508f1989d2767..98ec750a9d51453e83d25d0b7caf2c7b9d8b1b19 100644 (file)
@@ -75,8 +75,8 @@ bool CCECPlaybackDevice::TransmitDeckStatus(cec_logical_address dest)
   AddLog(CEC_LOG_NOTICE, strLog);
 
   cec_command command;
-  cec_command::format(command, m_iLogicalAddress, dest, CEC_OPCODE_GIVE_DECK_STATUS);
-  command.push_back((uint8_t)m_deckStatus);
+  cec_command::Format(command, m_iLogicalAddress, dest, CEC_OPCODE_DECK_STATUS);
+  command.PushBack((uint8_t)m_deckStatus);
 
   return m_processor->Transmit(command);
 }