diff options
| author | Bernard Xiong <[email protected]> | 2018-07-17 21:17:21 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-07-17 21:17:21 +0800 |
| commit | 41c27cce5ed5909f507457375cc2ba7be43c2ae2 (patch) | |
| tree | 32cf11e1ee9b4a7855ff7d18af5dffa9181259b7 /components | |
| parent | f51a864b0897de75a43b1046ffe6560579e143de (diff) | |
| parent | a27144eb4eb39e2f6d597ae8231aebfa79506285 (diff) | |
Merge pull request #1639 from liangyongxiang/console-device
[libc] dependence update:
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/compilers/armlibc/stubs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/armlibc/stubs.c b/components/libc/compilers/armlibc/stubs.c index 74ca5fd1f6..b9be260357 100644 --- a/components/libc/compilers/armlibc/stubs.c +++ b/components/libc/compilers/armlibc/stubs.c @@ -189,7 +189,7 @@ int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode) if ((fh == STDOUT) || (fh == STDERR)) { -#ifndef RT_USING_CONSOLE +#if !defined(RT_USING_CONSOLE) || !defined(RT_USING_DEVICE) return 0; #else #ifdef RT_USING_POSIX |
