disable ir (#22321)

This commit is contained in:
Jason2866 2024-10-19 13:09:35 +02:00 committed by GitHub
parent 148f8350b6
commit 9c24258530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 17 additions and 15 deletions

View File

@ -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