summaryrefslogtreecommitdiff
path: root/examples/libc/termios_test.c
diff options
context:
space:
mode:
author马志远 <[email protected]>2021-08-23 17:30:05 +0800
committer马志远 <[email protected]>2021-08-23 17:30:05 +0800
commit221da7f464d811955acce96280332d95348fb24f (patch)
tree76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /examples/libc/termios_test.c
parenta280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff)
Remove C Style Command Shell
Diffstat (limited to 'examples/libc/termios_test.c')
-rw-r--r--examples/libc/termios_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/libc/termios_test.c b/examples/libc/termios_test.c
index f65bff1a9f..f3a6ce3a1c 100644
--- a/examples/libc/termios_test.c
+++ b/examples/libc/termios_test.c
@@ -356,8 +356,8 @@ int termios_test(int argc, char **argv)
#ifdef RT_USING_FINSH
#include <finsh.h>
- #ifdef FINSH_USING_MSH
+ #ifdef RT_USING_FINSH
MSH_CMD_EXPORT_ALIAS(termios_test, termtest, e.g: termtest /dev/uart4 115200);
- #endif /* FINSH_USING_MSH */
+ #endif /* RT_USING_FINSH */
#endif /* RT_USING_FINSH */