Files
rt-thread/components
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
..
2025-06-25 14:02:28 +08:00
2025-04-11 17:34:36 +08:00
2025-02-25 11:26:30 +08:00