diff options
| -rw-r--r-- | components/finsh/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.c b/components/finsh/shell.c index 2b9349364c..bd641db9b6 100644 --- a/components/finsh/shell.c +++ b/components/finsh/shell.c @@ -193,7 +193,7 @@ int finsh_getchar(void) return ch; #endif /* RT_USING_POSIX_STDIO */ #else - extern char rt_hw_console_getchar(void); + extern signed char rt_hw_console_getchar(void); return rt_hw_console_getchar(); #endif /* RT_USING_DEVICE */ } |
