[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 -1
View File
@@ -416,7 +416,7 @@ void USBUartTypeCdcAcm::on_connected() {
for (auto *channel : this->channels_) {
if (i == cdc_devs.size()) {
ESP_LOGE(TAG, "No configuration found for channel %d", channel->index_);
this->status_set_warning("No configuration found for channel");
this->status_set_warning(LOG_STR("No configuration found for channel"));
break;
}
channel->cdc_dev_ = cdc_devs[i++];