mirror of
https://github.com/esphome/esphome.git
synced 2026-09-17 01:58:39 +00:00
[core] Force inline Component::get_component_log_str() (#15363)
This commit is contained in:
@@ -267,9 +267,6 @@ void Component::call() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
const LogString *Component::get_component_log_str() const {
|
||||
return component_source_lookup(this->component_source_index_);
|
||||
}
|
||||
bool Component::should_warn_of_blocking(uint32_t blocking_time) {
|
||||
// Convert centisecond threshold to milliseconds for comparison
|
||||
uint32_t threshold_ms = static_cast<uint32_t>(this->warn_if_blocking_over_) * 10U;
|
||||
|
||||
Reference in New Issue
Block a user