This commit is contained in:
刘可亮
2024-01-27 08:47:24 +08:00
parent d3bd993b5f
commit 9f7ba67007
2345 changed files with 74421 additions and 76616 deletions

View File

@@ -4,6 +4,7 @@
#include <ctype.h>
#include <console.h>
#include <rtconfig.h>
#include <aic_osal.h>
#ifdef __GNUC__
#define MAYBE_UNUSED(d) d __attribute__((unused))
@@ -507,6 +508,10 @@ static int _console_loop(struct tiny_console *cons)
cons->display_prompt = 0;
}
#ifdef KERNEL_FREERTOS
aicos_msleep(10);
#endif
c = getchar();
if (c <= 0)