mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
Change message
This commit is contained in:
parent
872b468415
commit
2229aa6ccc
1 changed files with 1 additions and 2 deletions
|
@ -73,9 +73,8 @@ void Application::loop() {
|
||||||
|
|
||||||
const uint32_t end = millis();
|
const uint32_t end = millis();
|
||||||
if (end - start > 200) {
|
if (end - start > 200) {
|
||||||
ESP_LOGV(TAG, "A component took a long time in a loop() cycle (%.1f s).", (end - start) / 1e3f);
|
ESP_LOGV(TAG, "A component took a long time in a loop() cycle (%.2f s).", (end - start) / 1e3f);
|
||||||
ESP_LOGV(TAG, "Components should block for at most 20-30ms in loop().");
|
ESP_LOGV(TAG, "Components should block for at most 20-30ms in loop().");
|
||||||
ESP_LOGV(TAG, "This will become a warning soon.");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const uint32_t now = millis();
|
const uint32_t now = millis();
|
||||||
|
|
Loading…
Reference in a new issue