From fe95543f6b9c2c729d226f91b243c527a578b7d8 Mon Sep 17 00:00:00 2001 From: Letter Date: Sat, 5 Jun 2021 23:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20x86=20demo=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E8=BF=87=E5=BF=AB=E6=97=B6=E7=9A=84=E5=9B=9E=E6=98=BE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/x86-gcc/shell_port.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/x86-gcc/shell_port.c b/demo/x86-gcc/shell_port.c index 8b5e50f..877b8ea 100644 --- a/demo/x86-gcc/shell_port.c +++ b/demo/x86-gcc/shell_port.c @@ -73,8 +73,8 @@ unsigned short userShellRead(char *data, unsigned short len) { *data++ = getchar(); } - system("stty icanon"); - system("stty echo"); + // system("stty icanon"); + // system("stty echo"); return len; } @@ -142,8 +142,8 @@ void userShellInit(void) log.write = terminalLogWrite; logRegister(&log, &shell); - logDebug("hello world"); - logHexDump(LOG_ALL_OBJ, LOG_DEBUG, (void *)&shell, sizeof(shell)); + // logDebug("hello world"); + // logHexDump(LOG_ALL_OBJ, LOG_DEBUG, (void *)&shell, sizeof(shell)); }