diff --git a/examples/platforms/posix/uart-posix.c b/examples/platforms/posix/uart-posix.c index 14a9f43d0..57225f76b 100644 --- a/examples/platforms/posix/uart-posix.c +++ b/examples/platforms/posix/uart-posix.c @@ -73,6 +73,7 @@ void platformUartRestore(void) { restore_stdin_termios(); restore_stdout_termios(); + dup2(s_out_fd, STDOUT_FILENO); } otError otPlatUartEnable(void)