mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 09:38:24 +00:00
[Components][Finsh] Add shell getchar received error process.
This commit is contained in:
@@ -541,8 +541,8 @@ void finsh_thread_entry(void *parameter)
|
||||
}
|
||||
}
|
||||
|
||||
/* handle CR key */
|
||||
if (ch == '\0') continue;
|
||||
/* received null or error */
|
||||
if (ch == '\0' || ch == 0xFF) continue;
|
||||
/* handle tab key */
|
||||
else if (ch == '\t')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user