mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Fix potential ISR digital_write issue (#753)
This commit is contained in:
		| @@ -148,7 +148,7 @@ void ICACHE_RAM_ATTR HOT GPIOPin::digital_write(bool value) { | |||||||
|   } |   } | ||||||
| #endif | #endif | ||||||
| } | } | ||||||
| void ISRInternalGPIOPin::digital_write(bool value) { | void ICACHE_RAM_ATTR HOT ISRInternalGPIOPin::digital_write(bool value) { | ||||||
| #ifdef ARDUINO_ARCH_ESP8266 | #ifdef ARDUINO_ARCH_ESP8266 | ||||||
|   if (this->pin_ != 16) { |   if (this->pin_ != 16) { | ||||||
|     if (value != this->inverted_) { |     if (value != this->inverted_) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user