Skip to content

Commit

Permalink
imx6ull-tty: Init libklog on console only
Browse files Browse the repository at this point in the history
DONE: RTOS-662
  • Loading branch information
agkaminski committed Nov 6, 2023
1 parent e289b78 commit b010e9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tty/imx6ull-uart/imx6ull-uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,9 @@ int main(int argc, char **argv)

if (is_console != 0) {
create_dev(&dev, _PATH_CONSOLE);
libklog_init(libklog_clbk);
}

libklog_init(libklog_clbk);

uart_thr((void *)port);

return 0;
Expand Down

0 comments on commit b010e9c

Please sign in to comment.