mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 23:22:21 +01:00
Update mcp4461.cpp
This commit is contained in:
@@ -21,6 +21,7 @@ void Mcp4461Component::setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Mcp4461Component::begin_() {
|
void Mcp4461Component::begin_() {
|
||||||
|
// get WP & WL status
|
||||||
this->previous_write_exec_time_ = 0;
|
this->previous_write_exec_time_ = 0;
|
||||||
for (uint8_t i = 0; i < 8; i++) {
|
for (uint8_t i = 0; i < 8; i++) {
|
||||||
if (this->reg_[i].enabled) {
|
if (this->reg_[i].enabled) {
|
||||||
|
Reference in New Issue
Block a user