mirror of
https://github.com/esphome/esphome.git
synced 2025-03-31 16:08:15 +01:00
Update mcp4461.cpp
This commit is contained in:
parent
58bff218ff
commit
cb2e249d84
@ -102,6 +102,9 @@ void Mcp4461Component::dump_config() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Mcp4461Component::loop() {
|
void Mcp4461Component::loop() {
|
||||||
|
if (status_has_warning()) {
|
||||||
|
this->get_status_register();
|
||||||
|
}
|
||||||
if (this->update_) {
|
if (this->update_) {
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user