mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
cpu/esp32: set stdout/stderr to be non-buffering
This commit is contained in:
parent
e1c6306bf4
commit
1d20f88bb0
@ -336,6 +336,10 @@ static NORETURN void IRAM system_init (void)
|
||||
/* initialize stdio */
|
||||
stdio_init();
|
||||
|
||||
/* disable buffering in stdio */
|
||||
setvbuf(_stdout_r(_REENT), NULL, _IONBF, 0);
|
||||
setvbuf(_stderr_r(_REENT), NULL, _IONBF, 0);
|
||||
|
||||
/* trigger static peripheral initialization */
|
||||
periph_init();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user