Reduce Component memory usage by 20 bytes per component

This commit is contained in:
J. Nick Koston
2025-06-14 16:27:45 -05:00
parent ee37d2f9c8
commit 13824624f8
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ void Component::call_setup() { this->setup(); }
void Component::call_dump_config() {
this->dump_config();
if (this->is_failed()) {
ESP_LOGE(TAG, " Component %s is marked FAILED: %s", this->get_component_source(), this->error_message_.c_str());
ESP_LOGE(TAG, " Component %s is marked FAILED: %s", this->get_component_source(),
this->error_message_ ? this->error_message_ : "unspecified");
}
}