From 7544d2f23c52d79a93052efd6c1803974304e375 Mon Sep 17 00:00:00 2001 From: Christian Baars Date: Thu, 10 Aug 2023 12:19:18 +0200 Subject: [PATCH] fix IRAM_ATTR specified both in function declaration and definition (#19286) --- tasmota/tasmota_support/support.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasmota/tasmota_support/support.ino b/tasmota/tasmota_support/support.ino index 414daddbeaed..55f8cfe46f97 100755 --- a/tasmota/tasmota_support/support.ino +++ b/tasmota/tasmota_support/support.ino @@ -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) {