cec: don't forward the standby opcode more than once every 10 seconds
[deb_libcec.git] / include / cectypes.h
index df59193f594aeb3de04777afd6705132d5e7c876..0e9f7e52707465476ea9fd7fe0a2ce0f436f3658 100644 (file)
@@ -111,6 +111,7 @@ namespace CEC {
 #define CEC_CLEAR_INPUT_DEFAULT_WAIT    1000
 
 #define CEC_ACTIVE_SOURCE_SWITCH_RETRY_TIME_MS 5000
+#define CEC_FORWARD_STANDBY_MIN_INTERVAL 10000
 
 #define CEC_MIN_LIB_VERSION          1
 #define CEC_LIB_VERSION_MAJOR        1
@@ -1348,15 +1349,6 @@ typedef struct libcec_configuration
 #endif
 } libcec_configuration;
 
-#ifdef UNUSED
-#elif defined(__GNUC__)
-#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
-#elif defined(__LCLINT__)
-#define UNUSED(x) /*@unused@*/ x
-#else
-#define UNUSED(x) x
-#endif
-
 #ifdef __cplusplus
 };
 };