summaryrefslogtreecommitdiff
path: root/examples/libc/termios_test.c
diff options
context:
space:
mode:
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 */