X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Fcectypes.h;h=467f15049a422f8e9945130ab0a7d8706029a65d;hb=9b223b298b838c216281f580c4dc0e62cf8d41f6;hp=0fed3b56723e76053de3c367a7e058513e96f9ca;hpb=a171d2fdf17b447edd79134c5a092abe4658c919;p=deb_libcec.git diff --git a/include/cectypes.h b/include/cectypes.h index 0fed3b5..467f150 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -694,6 +694,7 @@ typedef struct cec_command cec_datapacket parameters; int8_t opcode_set; int32_t transmit_timeout; + int8_t retries; #ifdef __cplusplus cec_command &operator =(const struct cec_command &command) @@ -706,6 +707,7 @@ typedef struct cec_command opcode_set = command.opcode_set; transmit_timeout = command.transmit_timeout; parameters = command.parameters; + retries = command.retries; return *this; } @@ -747,6 +749,7 @@ typedef struct cec_command opcode_set = 0; opcode = CEC_OPCODE_FEATURE_ABORT; transmit_timeout = 1000; + retries = 4; parameters.Clear(); }; #endif