[core] Add no-arg status_set_warning() to allow linker GC of const char* overload (#14821)
This commit is contained in:
1 parent
92d5e7b18c
commit
d97c23b8e3
5 files changed
+8
-6
No files matched your search
@@ -90,7 +90,7 @@ void ZWaveProxy::process_uart_() {
|
||||
while (this->available()) {
|
||||
uint8_t byte;
|
||||
if (!this->read_byte(&byte)) {
|
||||
this->status_set_warning("UART read failed");
|
||||
this->status_set_warning(LOG_STR("UART read failed"));
|
||||
return;
|
||||
}
|
||||
if (this->parse_byte_(byte)) {
|
||||
|
||||
Reference in new issue
Block a user