cec: more cleanups. split up cec_adapter_message and cec_command. use cec_command...
[deb_libcec.git] / src / lib / platform / linux / serialport.cpp
index 4e4ac4627d8f109dc722a80f5991a0a6df30827b..d323708214c8b602a9edc1dd02f0ead087a3b635 100644 (file)
@@ -46,7 +46,7 @@ CSerialPort::~CSerialPort()
   Close();
 }
 
-int8_t CSerialPort::Write(const cec_frame &data)
+int8_t CSerialPort::Write(const cec_adapter_message &data)
 {
   fd_set port;
 
@@ -84,7 +84,7 @@ int8_t CSerialPort::Write(const cec_frame &data)
 //  {
 //    printf("%s write:", m_name.c_str());
 //    for (int i = 0; i < byteswritten; i++)
-//      printf(" %02x", (unsigned int)data.data[i]);
+//      printf(" %02x", (unsigned int)data[i]);
 //
 //    printf("\n");
 //  }