From 9652b1a556d91c0c8ba86a78c2a042d3539375fa Mon Sep 17 00:00:00 2001 From: Keith Burzinski Date: Wed, 11 Jun 2025 04:44:49 -0500 Subject: [PATCH] [application] Fix build error on some IDF versions (#9045) --- esphome/core/application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/esphome/core/application.cpp b/esphome/core/application.cpp index c96b2d37a1..75a7052c63 100644 --- a/esphome/core/application.cpp +++ b/esphome/core/application.cpp @@ -226,7 +226,8 @@ void Application::teardown_components(uint32_t timeout_ms) { // Note: At this point, connections are either disconnected or in a bad state, // so this warning will only appear via serial rather than being transmitted to clients for (auto *component : pending_components) { - ESP_LOGW(TAG, "%s did not complete teardown within %u ms", component->get_component_source(), timeout_ms); + ESP_LOGW(TAG, "%s did not complete teardown within %" PRIu32 " ms", component->get_component_source(), + timeout_ms); } } }