console: ensure "Console is enabled" string is intact
BRANCH=none
TEST=boot 10 times on kevin, and
see the complete string "Console is enabled..."
Commit-Ready: Philip Chen
Tested-by: Philip Chen
@@ -269,11 +269,13 @@ command_has_error:
static void console_init(void)
{
*input_buf = '\0';
+ cflush();
#ifdef CONFIG_EXPERIMENTAL_CONSOLE
ccprintf("Enhanced Console is enabled (v1.0.0); type HELP for help.\n");
#else
ccprintf("Console is enabled; type HELP for help.\n");
#endif /* defined(CONFIG_EXPERIMENTAL_CONSOLE) */
+ cflush();
ccputs(PROMPT);
}
