cec: include the ack timeout in the cec_command struct
[deb_libcec.git] / src / lib / LibCECC.cpp
index 79157658df088d7231b6a0e4ad838bea45746f6c..1f8416b0d573064c7811171ef75800be2307528b 100644 (file)
@@ -124,10 +124,10 @@ int cec_get_next_command(cec_command *command)
   return -1;
 }
 
-int cec_transmit(const CEC::cec_command &data, int bWaitForAck /* = true */)
+int cec_transmit(const CEC::cec_command &data)
 {
   if (cec_parser)
-    return cec_parser->Transmit(data, bWaitForAck == 1) ? 1 : 0;
+    return cec_parser->Transmit(data) ? 1 : 0;
   return -1;
 }