Skip to content

Commit

Permalink
Update xdrv_05_irremote.ino
Browse files Browse the repository at this point in the history
Reduce IR_TIME_AVOID_DUPLICATE to 50ms which was fixed in xdrv_05_irremote_full.ino in PR arendst#9969 but not here.
Converted IR_TIME_AVOID_DUPLICATE from const to #define to enable override in the config override file.
  • Loading branch information
kylehase authored Mar 22, 2021
1 parent c25ad05 commit 64c8c88
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tasmota/xdrv_05_irremote.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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 <IRrecv.h>

Expand Down

0 comments on commit 64c8c88

Please sign in to comment.