removed 'rt' from libraries. it's not needed (anymore)
[deb_libcec.git] / include / CECExports.h
index e5c52e3b6f784afa87560cfa3dda602c2d37c91a..fd6162ced744b2db0e47f2c4bb33f74462f5ca64 100644 (file)
@@ -56,7 +56,7 @@ namespace CEC {
 #endif
   #define CEC_MIN_VERSION      6
   #define CEC_LIB_VERSION      6
-  #define CEC_SETTLE_DOWN_TIME 1000
+  #define CEC_SETTLE_DOWN_TIME 1500
   #define CEC_BUTTON_TIMEOUT   500
 
   typedef enum cec_user_control_code
@@ -353,16 +353,13 @@ namespace CEC {
     cec_datapacket      parameters;
     bool                opcode_set;
 
-    static cec_command format(cec_logical_address initiator, cec_logical_address destination, cec_opcode opcode)
+    static void format(cec_command &command, cec_logical_address initiator, cec_logical_address destination, cec_opcode opcode)
     {
-      cec_command command;
       command.clear();
       command.initiator   = initiator;
       command.destination = destination;
       command.opcode      = opcode;
       command.opcode_set  = true;
-
-      return command;
     }
 
     void push_back(uint8_t data)