From 0b4fff69c57d7c2a5c324bac263fac37ee7b6f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Rohl=C3=ADnek?= Date: Wed, 17 Apr 2024 14:50:07 +0200 Subject: [PATCH] fix(newlib/stdio): remove incorrect check in /dev/console init Closes https://github.com/espressif/esp-idf/issues/13439 --- components/newlib/newlib_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/newlib/newlib_init.c b/components/newlib/newlib_init.c index 72506d130b..cba25d3b27 100644 --- a/components/newlib/newlib_init.c +++ b/components/newlib/newlib_init.c @@ -200,7 +200,7 @@ void esp_newlib_init_global_stdio(const char *stdio_dev) ESP_SYSTEM_INIT_FN(init_newlib_stdio, CORE, BIT(0), 115) { -#if defined(CONFIG_VFS_SUPPORT_IO) && !defined(CONFIG_ESP_CONSOLE_NONE) +#if defined(CONFIG_VFS_SUPPORT_IO) esp_newlib_init_global_stdio("/dev/console"); #else esp_newlib_init_global_stdio(NULL);