mirror of
https://github.com/esphome/esphome.git
synced 2025-01-18 20:10:55 +00:00
Fix for PCF8574 output chattering at the start/reboot (#744)
* Fix for PCF8574 output chattering at the start/reboot * Fix for PCF8574 output chattering at the start/reboot * Fix for PCF8574 output chattering at the start/reboot Co-authored-by: Amish Vishwakarma <vishwakarma.amish@gmai.com>
This commit is contained in:
parent
acf3f6fb65
commit
9c30f4cc68
@ -55,8 +55,6 @@ void PCF8574Component::pin_mode(uint8_t pin, uint8_t mode) {
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
this->write_gpio_();
|
||||
}
|
||||
bool PCF8574Component::read_gpio_() {
|
||||
if (this->is_failed())
|
||||
|
Loading…
x
Reference in New Issue
Block a user