mirror of https://github.com/arendst/Tasmota.git
disable ir (#22321)
This commit is contained in:
parent
148f8350b6
commit
9c24258530
|
@ -1029,21 +1029,23 @@
|
|||
#define SEND_PRONTO false // Exclude PRONTO protocol
|
||||
#else
|
||||
#define _IR_ENABLE_DEFAULT_ false // disable all protocols by default
|
||||
// below are the default IR protocols
|
||||
#define DECODE_HASH true
|
||||
#ifdef USE_IR_SEND_NEC
|
||||
#define SEND_NEC true // Support IRsend NEC protocol
|
||||
#define DECODE_NEC true // Support IRreceive NEC protocol
|
||||
#endif
|
||||
#ifdef USE_IR_SEND_RC5
|
||||
#define SEND_RC5 true // Support IRsend Philips RC5 protocol
|
||||
#define DECODE_RC5 true // Support IRreceive Philips RC5 protocol
|
||||
#endif
|
||||
#ifdef USE_IR_SEND_RC6
|
||||
#define SEND_RC6 true // Support IRsend Philips RC6 protocol
|
||||
#define DECODE_RC6 true // Support IRreceive Philips RC6 protocol
|
||||
#endif
|
||||
#endif
|
||||
#ifdef USE_IR_REMOTE
|
||||
// below are the default IR protocols
|
||||
#define DECODE_HASH true
|
||||
#ifdef USE_IR_SEND_NEC
|
||||
#define SEND_NEC true // Support IRsend NEC protocol
|
||||
#define DECODE_NEC true // Support IRreceive NEC protocol
|
||||
#endif // USE_IR_SEND_NEC
|
||||
#ifdef USE_IR_SEND_RC5
|
||||
#define SEND_RC5 true // Support IRsend Philips RC5 protocol
|
||||
#define DECODE_RC5 true // Support IRreceive Philips RC5 protocol
|
||||
#endif // USE_IR_SEND_RC5
|
||||
#ifdef USE_IR_SEND_RC6
|
||||
#define SEND_RC6 true // Support IRsend Philips RC6 protocol
|
||||
#define DECODE_RC6 true // Support IRreceive Philips RC6 protocol
|
||||
#endif // USE_IR_SEND_RC6
|
||||
#endif // USE_IR_REMOTE
|
||||
#endif // USE_IR_REMOTE_FULL
|
||||
|
||||
/*********************************************************************************************\
|
||||
* Mandatory defines satisfying disabled defines
|
||||
|
|
Loading…
Reference in New Issue