1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 03:12:20 +01:00

[core] Fix format error in log printf (#9911)

This commit is contained in:
Clyde Stubbs
2025-07-27 04:02:02 +10:00
committed by GitHub
parent 84ffa4274c
commit 0e2520e4c0

View File

@@ -159,7 +159,7 @@ void Component::call() {
this->call_setup();
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG
uint32_t setup_time = millis() - start_time;
ESP_LOGD(TAG, "Setup %s took %ums", this->get_component_source(), setup_time);
ESP_LOGD(TAG, "Setup %s took %ums", this->get_component_source(), (unsigned) setup_time);
#endif
break;
}