mirror of https://github.com/arendst/Tasmota.git
fix IRAM_ATTR specified both in function declaration and definition (#19286)
This commit is contained in:
parent
d85557711d
commit
7544d2f23c
|
@ -1410,8 +1410,7 @@ void ConvertGpios(void) {
|
|||
}
|
||||
#endif // ESP8266
|
||||
|
||||
int IRAM_ATTR Pin(uint32_t gpio, uint32_t index = 0);
|
||||
int IRAM_ATTR Pin(uint32_t gpio, uint32_t index) {
|
||||
int IRAM_ATTR Pin(uint32_t gpio, uint32_t index = 0) {
|
||||
uint16_t real_gpio = gpio << 5;
|
||||
uint16_t mask = 0xFFE0;
|
||||
if (index < GPIO_ANY) {
|
||||
|
|
Loading…
Reference in New Issue