diff --git a/sched/init/nx_start.c b/sched/init/nx_start.c index b11de625558..927f8ff9548 100644 --- a/sched/init/nx_start.c +++ b/sched/init/nx_start.c @@ -613,6 +613,10 @@ void nx_start(void) } #endif + /* Initialize the file system (needed to support device drivers) */ + + fs_initialize(); + /* Initialize the interrupt handling subsystem (if included) */ #ifdef CONFIG_HAVE_WEAKFUNCTIONS @@ -680,10 +684,6 @@ void nx_start(void) } #endif - /* Initialize the file system (needed to support device drivers) */ - - fs_initialize(); - #ifdef CONFIG_NET /* Initialize the networking system */