[logger] fix crash on zephyr (#16330)

This commit is contained in:
tomaszduda23 authored and GitHub committed 2026-05-11 10:04:48 -04:00
1 parent 105842366e
commit 68534ea24d
2 files changed
+4 -3

No files matched your search

+3
View File
@@ -243,6 +243,9 @@ void Logger::dump_config() {
#endif
#ifdef USE_ZEPHYR
dump_crash_();
if (!device_is_ready(this->uart_dev_)) {
ESP_LOGE(TAG, " %s is not ready.", LOG_STR_ARG(get_uart_selection_()));
}
#endif
// Warn users that VERBOSE/VERY_VERBOSE logging impacts performance.
// Only the compiled log level matters — all log calls up to this level