diff options
| author | Bernard Xiong <[email protected]> | 2014-11-26 09:29:14 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-11-26 09:29:14 +0800 |
| commit | 9461da1f8447fd5d53cb377bbb4d984e26580037 (patch) | |
| tree | 7152d464461fab4359ff16ff87219136ef74be81 /components | |
| parent | 9ecd18411fc1344e3d080d844b60c7070c3fb4d8 (diff) | |
| parent | d50ab16e6fe43d236d36893edb8b97d600716fb9 (diff) | |
Merge pull request #384 from bright-pan/master
[BSP] Port to NuMicro M051 Series support for Nuvoton corp and fix compile warning
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/armlibc/stubs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/armlibc/stubs.c b/components/libc/armlibc/stubs.c index ea42777a08..cb651b66fa 100644 --- a/components/libc/armlibc/stubs.c +++ b/components/libc/armlibc/stubs.c @@ -224,10 +224,12 @@ char *_sys_command_string(char *cmd, int len) /* This function writes a character to the console. */ void _ttywrch(int ch) { +#ifdef RT_USING_CONSOLE char c; c = (char)ch; rt_kprintf(&c); +#endif } void _sys_exit(int return_code) |
