#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
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)