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 #define SEND_PRONTO false // Exclude PRONTO protocol
#else #else
#define _IR_ENABLE_DEFAULT_ false // disable all protocols by default #define _IR_ENABLE_DEFAULT_ false // disable all protocols by default
// below are the default IR protocols #ifdef USE_IR_REMOTE
#define DECODE_HASH true // below are the default IR protocols
#ifdef USE_IR_SEND_NEC #define DECODE_HASH true
#define SEND_NEC true // Support IRsend NEC protocol #ifdef USE_IR_SEND_NEC
#define DECODE_NEC true // Support IRreceive NEC protocol #define SEND_NEC true // Support IRsend NEC protocol
#endif #define DECODE_NEC true // Support IRreceive NEC protocol
#ifdef USE_IR_SEND_RC5 #endif // USE_IR_SEND_NEC
#define SEND_RC5 true // Support IRsend Philips RC5 protocol #ifdef USE_IR_SEND_RC5
#define DECODE_RC5 true // Support IRreceive Philips RC5 protocol #define SEND_RC5 true // Support IRsend Philips RC5 protocol
#endif #define DECODE_RC5 true // Support IRreceive Philips RC5 protocol
#ifdef USE_IR_SEND_RC6 #endif // USE_IR_SEND_RC5
#define SEND_RC6 true // Support IRsend Philips RC6 protocol #ifdef USE_IR_SEND_RC6
#define DECODE_RC6 true // Support IRreceive Philips RC6 protocol #define SEND_RC6 true // Support IRsend Philips RC6 protocol
#endif #define DECODE_RC6 true // Support IRreceive Philips RC6 protocol
#endif #endif // USE_IR_SEND_RC6
#endif // USE_IR_REMOTE
#endif // USE_IR_REMOTE_FULL
/*********************************************************************************************\ /*********************************************************************************************\
* Mandatory defines satisfying disabled defines * Mandatory defines satisfying disabled defines