mirror of https://github.com/arendst/Tasmota.git
Merge pull request #11421 from kylehase/patch-1
Align IR_TIME_AVOID_DUPLICATE across irremote_full.ino and irremote.ino and convert to #define
This commit is contained in:
commit
25619fdd2a
|
@ -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>
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue