mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 22:26:36 +00:00
[core] Fix format error in log printf (#9911)
This commit is contained in:
parent
84ffa4274c
commit
0e2520e4c0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user