mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 08:55:22 +01:00
Fix potential ISR digital_write issue (#753)
This commit is contained in:
parent
428684bc1e
commit
ac48ff1fd6
1 changed files with 1 additions and 1 deletions
|
@ -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_) {
|
||||
|
|
Loading…
Reference in a new issue