From 60613e504141400405925b0d392ddf141ae3a856 Mon Sep 17 00:00:00 2001 From: kylehase Date: Mon, 22 Mar 2021 13:03:44 +0900 Subject: [PATCH] Update xdrv_05_irremote_full.ino Convert IR_TIME_AVOID_DUPLICATE from const to #define to enable override in the config override file. --- tasmota/xdrv_05_irremote_full.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tasmota/xdrv_05_irremote_full.ino b/tasmota/xdrv_05_irremote_full.ino index 66d0e17d4..b68cc5a87 100644 --- a/tasmota/xdrv_05_irremote_full.ino +++ b/tasmota/xdrv_05_irremote_full.ino @@ -167,7 +167,10 @@ uint64_t reverseBitsInBytes64(uint64_t b) { \*********************************************************************************************/ const bool IR_FULL_RCV_SAVE_BUFFER = false; // false = do not use buffer, true = use buffer for decoding -const uint32_t IR_TIME_AVOID_DUPLICATE = 50; // Milliseconds + +#ifndef IR_TIME_AVOID_DUPLICATE +#define IR_TIME_AVOID_DUPLICATE = 50 // Milliseconds +#endif // IR_TIME_AVOID_DUPLICATE // Below is from IRrecvDumpV2.ino // As this program is a special purpose capture/decoder, let us use a larger