1
0
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:
Iron Man 2024-04-24 23:17:00 +02:00 committed by GitHub
parent 4de9b83cb9
commit 80d133301a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}