summaryrefslogtreecommitdiff
path: root/bsp/pic32ethernet
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 /bsp/pic32ethernet
parent0e5dd7d1ab49edc0961c2520544836d464ba21b0 (diff)
add RT_USING_POSIX_STDIO
Diffstat (limited to 'bsp/pic32ethernet')
-rw-r--r--bsp/pic32ethernet/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/pic32ethernet/startup.c b/bsp/pic32ethernet/startup.c
index 8c8772a4a7..aac8421898 100644
--- a/bsp/pic32ethernet/startup.c
+++ b/bsp/pic32ethernet/startup.c
@@ -48,7 +48,7 @@ void rtthread_startup(void)
#ifdef RT_USING_FINSH
/* init finsh */
finsh_system_init();
-#if !defined(RT_USING_POSIX_DEVIO) && defined(RT_USING_DEVICE)
+#if !defined(RT_USING_POSIX_STDIO) && defined(RT_USING_DEVICE)
finsh_set_device("uart1");
#endif
#endif