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