diff options
| author | [email protected] <[email protected]> | 2011-01-24 13:40:42 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-01-24 13:40:42 +0000 |
| commit | 4e3839d702062c1675349f2f320a22a9ec13a361 (patch) | |
| tree | 2d87afb499be8846bf4d6a6ed43d5233b8115f78 /include/rtthread.h | |
| parent | 86e7b772c2d9a768dc774cd470e08312a224ce43 (diff) | |
add RT_USING_DEVICE definition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1259 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 76e85b2006..38f034a3e7 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -339,7 +339,9 @@ rt_int32_t rt_vsprintf(char *dest, const char *format, va_list arg_ptr); rt_int32_t rt_sprintf(char *buf ,const char *format,...); rt_int32_t rt_snprintf(char *buf, rt_size_t size, const char *format, ...); +#ifdef RT_USING_DEVICE rt_device_t rt_console_set_device(const char* name); +#endif void rt_kprintf(const char *fmt, ...); rt_err_t rt_get_errno(void); |
