From ca55ed7b4b007433a6f524fa2f2b31393c5e14c4 Mon Sep 17 00:00:00 2001 From: oarcher Date: Mon, 22 Jul 2024 15:10:29 +0200 Subject: [PATCH] fix printf type --- esphome/components/modem/helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/modem/helpers.cpp b/esphome/components/modem/helpers.cpp index 150bfb2393..adeb905510 100644 --- a/esphome/components/modem/helpers.cpp +++ b/esphome/components/modem/helpers.cpp @@ -16,7 +16,7 @@ Watchdog::Watchdog(u_int32_t timeout_s) { this->timeout_s_ = timeout_s; this->start_time_ms_ = millis(); this->set_wdt_(timeout_s); - ESP_LOGV(TAG, "Watchog timeout init: %ds", timeout_s); + ESP_LOGV(TAG, "Watchog timeout init: %" PRIu32 "s", timeout_s); } Watchdog::~Watchdog() {