[core] Add no-arg status_set_warning() to allow linker GC of const char* overload (#14821)

This commit is contained in:
J. Nick Koston
2026-03-15 15:13:10 -10:00
committed by GitHub
parent 92d5e7b18c
commit d97c23b8e3
5 changed files with 8 additions and 6 deletions
+1
View File
@@ -392,6 +392,7 @@ bool Component::set_status_flag_(uint8_t flag) {
return true;
}
void Component::status_set_warning() { this->status_set_warning((const LogString *) nullptr); }
void Component::status_set_warning(const char *message) {
if (!this->set_status_flag_(STATUS_LED_WARNING))
return;