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:
amishv 2019-10-16 01:01:52 +05:30 committed by Otto Winter
parent acf3f6fb65
commit 9c30f4cc68

View file

@ -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())