!650 通过g_uart_fputc_en关闭打印后,shell进程不能正常启动

Merge pull request !650 from zhangfanfan2/master
This commit is contained in:
openharmony_ci 2021-10-11 07:46:26 +00:00 committed by Gitee
commit fd4b97e3f8
1 changed files with 0 additions and 4 deletions

View File

@ -1420,8 +1420,6 @@ BOOL ConsoleEnable(VOID)
if (g_uart_fputc_en == 0) {
if ((g_console[CONSOLE_TELNET - 1] != NULL) && OsPreemptable()) {
return TRUE;
} else {
return FALSE;
}
}
@ -1538,8 +1536,6 @@ INT32 ConsoleUpdateFd(VOID)
if (g_uart_fputc_en == 0) {
if (g_console[CONSOLE_TELNET - 1] != NULL) {
consoleID = CONSOLE_TELNET;
} else {
return -1;
}
} else if (consoleID == 0) {
if (g_console[CONSOLE_SERIAL - 1] != NULL) {