Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/console/posix_arch_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
static char stdout_buff[_STDOUT_BUF_SIZE];
static int n_pend; /* Number of pending characters in buffer */

#if defined(CONFIG_PRINTK) || defined(CONFIG_STDOUT_CONSOLE)
static int print_char(int c)
{
int printnow = 0;
Expand All @@ -34,6 +35,7 @@ static int print_char(int c)
}
return c;
}
#endif /* defined(CONFIG_PRINTK) || defined(CONFIG_STDOUT_CONSOLE) */

/**
* Ensure that whatever was written thru printk is displayed now
Expand Down
Loading