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
87b70410e7
commit
2b78e90256
@ -459,7 +459,7 @@ bool Mcp4461Component::is_eeprom_busy_() {
|
|||||||
ESP_LOGE(TAG, "EEPROM write timeout exceeded (%" PRIu8 " ms), aborting read/write from/to nonvolatile wiper/eeprom", EEPROM_WRITE_TIMEOUT_MS);
|
ESP_LOGE(TAG, "EEPROM write timeout exceeded (%" PRIu8 " ms), aborting read/write from/to nonvolatile wiper/eeprom", EEPROM_WRITE_TIMEOUT_MS);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
ESP_LOGV(TAG, "Waiting while eeprom busy");
|
ESP_LOGV(TAG, "Waiting while eeprom is busy");
|
||||||
yield();
|
yield();
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user