summaryrefslogtreecommitdiff
path: root/components/finsh/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'components/finsh/shell.h')
-rw-r--r--components/finsh/shell.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/finsh/shell.h b/components/finsh/shell.h
index 0c20ba60dd..a74f4dad05 100644
--- a/components/finsh/shell.h
+++ b/components/finsh/shell.h
@@ -78,7 +78,7 @@ struct finsh_shell
rt_uint16_t line_position;
rt_uint16_t line_curpos;
-#if !defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_DEVICE)
+#if !defined(RT_USING_POSIX_STDIO) && defined(RT_USING_DEVICE)
rt_device_t device;
#endif