diff options
| author | sundm75 <[email protected]> | 2018-03-17 18:57:09 +0800 |
|---|---|---|
| committer | sundm75 <[email protected]> | 2018-03-17 18:57:09 +0800 |
| commit | 05aea0f8cbd4b2b23f357553637f5edf3d6a23f1 (patch) | |
| tree | 7ce5064c56c858a1e01929fb0a0a3488a36302db /bsp/ls1cdev | |
| parent | 6e987b2350badd1777454b7324fc88d3275407d6 (diff) | |
[bsp][ls1c]remove rt_components_init
Diffstat (limited to 'bsp/ls1cdev')
| -rw-r--r-- | bsp/ls1cdev/applications/application.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bsp/ls1cdev/applications/application.c b/bsp/ls1cdev/applications/application.c index 744258782c..d4be2e4b59 100644 --- a/bsp/ls1cdev/applications/application.c +++ b/bsp/ls1cdev/applications/application.c @@ -21,17 +21,11 @@ void rt_init_thread_entry(void *parameter) { +#ifdef RT_USING_COMPONENTS_INIT /* initialization RT-Thread Components */ rt_components_init(); - +#endif #if defined(RT_USING_DFS) && defined(RT_USING_DFS_ELMFAT) - - /* initialize the device file system */ - dfs_init(); - - /* initialize the elm chan FatFS file system*/ - elm_init(); - /* mount sd card fat partition 1 as root directory */ if( dfs_mount("sd0", "/", "elm", 0, 0) == 0) { |
