Skip to content

Commit

Permalink
fix(newlib/stdio): remove incorrect check in /dev/console init
Browse files Browse the repository at this point in the history
Closes #13439
  • Loading branch information
haberturdeur committed May 27, 2024
1 parent 7278d06 commit 0b4fff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/newlib/newlib_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b4fff6

Please # to comment.