mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01: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
1 changed files with 0 additions and 2 deletions
|
@ -55,8 +55,6 @@ void PCF8574Component::pin_mode(uint8_t pin, uint8_t mode) {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->write_gpio_();
|
|
||||||
}
|
}
|
||||||
bool PCF8574Component::read_gpio_() {
|
bool PCF8574Component::read_gpio_() {
|
||||||
if (this->is_failed())
|
if (this->is_failed())
|
||||||
|
|
Loading…
Reference in a new issue