diff --git a/tasmota/xdrv_05_irremote.ino b/tasmota/xdrv_05_irremote.ino index 0cacb2161..0da389171 100644 --- a/tasmota/xdrv_05_irremote.ino +++ b/tasmota/xdrv_05_irremote.ino @@ -176,7 +176,10 @@ void IrSendInit(void) \*********************************************************************************************/ const bool IR_RCV_SAVE_BUFFER = false; // false = do not use buffer, true = use buffer for decoding -const uint32_t IR_TIME_AVOID_DUPLICATE = 500; // Milliseconds + +#ifndef IR_TIME_AVOID_DUPLICATE +#define IR_TIME_AVOID_DUPLICATE = 50 // Milliseconds +#endif // IR_TIME_AVOID_DUPLICATE #include