mirror of
https://github.com/esphome/esphome.git
synced 2025-03-13 22:28:14 +00:00
Update ds248x.cpp
clang tidy
This commit is contained in:
parent
4de9b83cb9
commit
80d133301a
@ -379,7 +379,7 @@ void DS248xComponent::reset_hub_() {
|
||||
uint8_t cmd = DS248X_COMMAND_RESET;
|
||||
this->write(&cmd, sizeof(cmd));
|
||||
|
||||
if (this->enable_active_pullup_ == true) {
|
||||
if (this->enable_active_pullup_) {
|
||||
this->DS248xComponent::write_config_(DS248X_CONFIG_ACTIVE_PULLUP);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user