Fix wrong type of tEnableLEDFeedback in IRReceive.hpp
This commit is contained in:
parent
c6aa13e443
commit
5a27b3ad44
|
@ -669,7 +669,7 @@ These macros must be defined in your program **before** the line `#include <IRre
|
|||
Modify them by enabling / disabling them, or change the values if applicable.
|
||||
|
||||
| Name | Default value | Description |
|
||||
|:-|-:|-|
|
||||
|-|-:|-|
|
||||
| `RAW_BUFFER_LENGTH` | 100 | Buffer size of raw input buffer. Must be even! 100 is sufficient for *regular* protocols of up to 48 bits, but for most air conditioner protocols a value of up to 750 is required. Use the ReceiveDump example to find smallest value for your requirements. |
|
||||
| `EXCLUDE_UNIVERSAL_PROTOCOLS` | disabled | Excludes the universal decoder for pulse distance protocols and decodeHash (special decoder for all protocols) from `decode()`. Saves up to 1000 bytes program memory. |
|
||||
| `DECODE_<Protocol name>` | all | Selection of individual protocol(s) to be decoded. You can specify multiple protocols. See [here](https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/IRremote.hpp#L98-L121) |
|
||||
|
@ -694,7 +694,7 @@ Modify them by enabling / disabling them, or change the values if applicable.
|
|||
|
||||
These next macros for **TinyIRReceiver** must be defined in your program before the line `#include <TinyIRReceiver.hpp>` to take effect.
|
||||
| Name | Default value | Description |
|
||||
|:---|---:|---|
|
||||
|-|-:|-|
|
||||
| `IR_RECEIVE_PIN` | 2 | The pin number for TinyIRReceiver IR input, which gets compiled in. |
|
||||
| `IR_FEEDBACK_LED_PIN` | `LED_BUILTIN` | The pin number for TinyIRReceiver feedback LED, which gets compiled in. |
|
||||
| `NO_LED_FEEDBACK_CODE` | disabled | Disables the feedback LED function. Saves 14 bytes program memory. |
|
||||
|
|
|
@ -287,7 +287,7 @@ void IRrecv::begin(uint_fast8_t aReceivePin, bool aEnableLEDFeedback, uint_fast8
|
|||
|
||||
setReceivePin(aReceivePin);
|
||||
#if !defined(NO_LED_FEEDBACK_CODE)
|
||||
bool tEnableLEDFeedback = DO_NOT_ENABLE_LED_FEEDBACK;
|
||||
uint_fast8_t tEnableLEDFeedback = DO_NOT_ENABLE_LED_FEEDBACK;
|
||||
if (aEnableLEDFeedback) {
|
||||
tEnableLEDFeedback = LED_FEEDBACK_ENABLED_FOR_RECEIVE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue