summaryrefslogtreecommitdiff
path: root/components/finsh/shell.h
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2022-01-02 17:51:44 -0500
committerBernard Xiong <[email protected]>2022-01-05 23:11:58 +0800
commit918ee6147c6a415cfd4544ea439a8ab894e2e1ee (patch)
tree08ac5cff632ff7ea1c70902305991b7122d05edf /components/finsh/shell.h
parent0e5dd7d1ab49edc0961c2520544836d464ba21b0 (diff)
add RT_USING_POSIX_STDIO
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