Main: initialize modules only after phase three

This commit is contained in:
Simon Duquennoy 2017-10-18 18:22:01 +02:00 committed by George Oikonomou
parent 56d1f795ff
commit 0321da5e88
1 changed files with 1 additions and 2 deletions

View File

@ -109,6 +109,7 @@ main(void)
}
#endif /* NETSTACK_CONF_WITH_IPV6 */
platform_init_stage_three();
#if BUILD_WITH_ORCHESTRA
orchestra_init();
@ -120,8 +121,6 @@ main(void)
LOG_DBG("With Shell\n");
#endif /* BUILD_WITH_SHELL */
platform_init_stage_three();
autostart_start(autostart_processes);
watchdog_start();