From a6fcf8cf1fc6014b61cd33a7b4783dbbfc84a6d2 Mon Sep 17 00:00:00 2001 From: gbcwbz Date: Sat, 9 Apr 2016 13:15:49 +0800 Subject: [PATCH] remove function finsh_set_device in application.c in bsp/stm32f10x finsh_set_device is not needed since version 1.2.0 --- bsp/stm32f10x/applications/application.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bsp/stm32f10x/applications/application.c b/bsp/stm32f10x/applications/application.c index 58720cf0f1..84aa502325 100644 --- a/bsp/stm32f10x/applications/application.c +++ b/bsp/stm32f10x/applications/application.c @@ -94,10 +94,6 @@ void rt_init_thread_entry(void* parameter) rt_components_init(); #endif -#ifdef RT_USING_FINSH - finsh_set_device(RT_CONSOLE_DEVICE_NAME); -#endif /* RT_USING_FINSH */ - /* Filesystem Initialization */ #if defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT) /* mount sd card fat partition 1 as root directory */