mirror of
https://github.com/esphome/esphome.git
synced 2025-07-29 06:36:45 +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();
|
this->call_setup();
|
||||||
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG
|
#if ESPHOME_LOG_LEVEL >= ESPHOME_LOG_LEVEL_DEBUG
|
||||||
uint32_t setup_time = millis() - start_time;
|
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
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user