Change message

This commit is contained in:
Otto Winter 2019-10-20 15:57:59 +02:00
parent b59cf6572b
commit 6c8d0f1852
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E

View file

@ -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();