diff --git a/tasmota/include/tasmota_configurations.h b/tasmota/include/tasmota_configurations.h index 2cecc2d46..03aa2828b 100644 --- a/tasmota/include/tasmota_configurations.h +++ b/tasmota/include/tasmota_configurations.h @@ -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