mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
Update xdrv_05_irremote.ino
Reduce IR_TIME_AVOID_DUPLICATE to 50ms which was fixed in xdrv_05_irremote_full.ino in PR #9969 but not here. Converted IR_TIME_AVOID_DUPLICATE from const to #define to enable override in the config override file.
This commit is contained in:
parent
c25ad05e9b
commit
64c8c88992
@ -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 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>
|
#include <IRrecv.h>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user