rt-thread/components/finsh
ricky 9c5aeb75e2
[Fix] <components>:finsh/shell.c F: char rt_hw_console_getchar(void) (#10345)
[Fix] <components>:finsh/shell.c
When using char rt_hw_console_getchar(void),
some compilers may default to returning 255 instead of the expected -1,
causing the condition if(ch < 0) at F: shell.c L:519 to fail and enter an erroneous loop.

Solution: Use the signed char type return value as rt_hw_console_getchar

Signed-off-by: Yucai Liu <1486344514@qq.com>
2025-07-20 17:35:35 +08:00
..
Kconfig [nano] rt-thread susport nano option 2023-11-30 11:39:34 +08:00
SConscript [msh][ci]only GCC use strict checking 2024-03-16 10:21:38 -04:00
cmd.c 解决 list_mutex 互斥量没有线程持有时打印错误 2025-03-21 20:52:18 -04:00
finsh.h 解决bps/simulator无法在vs2019环境下编译 2025-03-17 16:45:59 +08:00
msh.c [components] change variable name 2024-09-24 20:04:57 -04:00
msh.h 【msh】新增msh自动补全子选项特性 (#8086) 2023-09-27 12:34:05 +08:00
msh_file.c sync smart & dfs (#8672) 2024-03-28 23:42:56 +08:00
msh_parse.c [finsh]更正注释 2023-04-10 22:13:03 -04:00
msh_parse.h [componnets][pin]add pin operate command in MSH (#5892) 2022-05-30 18:00:26 +08:00
shell.c [Fix] <components>:finsh/shell.c F: char rt_hw_console_getchar(void) (#10345) 2025-07-20 17:35:35 +08:00
shell.h [finsh] feat: add finsh thread entry hook 2024-03-22 18:52:35 -04:00