From ac48ff1fd6b23a8b81ca684b0db0148066680574 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Thu, 17 Oct 2019 16:53:39 +0200 Subject: [PATCH] Fix potential ISR digital_write issue (#753) --- esphome/core/esphal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/core/esphal.cpp b/esphome/core/esphal.cpp index f0749894c0..13d54e726d 100644 --- a/esphome/core/esphal.cpp +++ b/esphome/core/esphal.cpp @@ -148,7 +148,7 @@ void ICACHE_RAM_ATTR HOT GPIOPin::digital_write(bool value) { } #endif } -void ISRInternalGPIOPin::digital_write(bool value) { +void ICACHE_RAM_ATTR HOT ISRInternalGPIOPin::digital_write(bool value) { #ifdef ARDUINO_ARCH_ESP8266 if (this->pin_ != 16) { if (value != this->inverted_) {