mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
对finsh_set_device调用增加宏定义限制
This commit is contained in:
@@ -168,7 +168,7 @@ extern struct finsh_syscall *_syscall_table_begin, *_syscall_table_end;
|
||||
/* find out system call, which should be implemented in user program */
|
||||
struct finsh_syscall *finsh_syscall_lookup(const char *name);
|
||||
|
||||
#ifdef RT_USING_DEVICE
|
||||
#if !defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_DEVICE)
|
||||
void finsh_set_device(const char *device_name);
|
||||
#endif
|
||||
|
||||
|
||||
@@ -91,7 +91,6 @@ void finsh_set_echo(rt_uint32_t echo);
|
||||
rt_uint32_t finsh_get_echo(void);
|
||||
|
||||
int finsh_system_init(void);
|
||||
void finsh_set_device(const char *device_name);
|
||||
const char *finsh_get_device(void);
|
||||
int finsh_getchar(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user