mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 21:32:21 +01:00
Update mcp4461.cpp
This commit is contained in:
@@ -573,8 +573,7 @@ bool Mcp4461Component::mcp4461_write_(uint8_t addr, uint16_t data, bool nonvolat
|
||||
}
|
||||
this->previous_write_exec_time_ = millis();
|
||||
}
|
||||
auto err = this->write_byte(reg, value_byte);
|
||||
return err == i2c::ERROR_OK;
|
||||
return this->write_byte(reg, value_byte);
|
||||
}
|
||||
} // namespace mcp4461
|
||||
} // namespace esphome
|
||||
|
Reference in New Issue
Block a user