From 2229aa6ccc68ed85b6cd86c3a4a2c13df3d36b6f Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Sun, 20 Oct 2019 15:57:59 +0200 Subject: [PATCH] Change message --- esphome/core/application.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index a2f94235f5..fbd3c56e54 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -73,9 +73,8 @@ void Application::loop() { const uint32_t end = millis(); 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, "This will become a warning soon."); } const uint32_t now = millis();