mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-26 14:08:53 +00:00
v1.0.3
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user