Skip to content

Commit

Permalink
fix IRAM_ATTR specified both in function declaration and definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Staars committed Aug 9, 2023
1 parent d855577 commit 36411c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasmota/tasmota_support/support.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 36411c9

Please sign in to comment.