mirror of
https://github.com/esphome/esphome.git
synced 2026-10-03 01:35:59 +00:00
[core] Add no-arg status_set_warning() to allow linker GC of const char* overload (#14821)
This commit is contained in:
@@ -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