bugfix: slip must be initialized after ctimer, as it uses ctimers

This commit is contained in:
Fredrik Osterlind 2012-05-30 12:59:42 +02:00
parent b6ed988709
commit d270e4943d

View File

@ -204,9 +204,6 @@ main(int argc, char **argv)
uart1_init(BAUD2UBR(115200)); /* Must come before first printf */
#if WITH_UIP
slip_arch_init(BAUD2UBR(115200));
#endif /* WITH_UIP */
leds_on(LEDS_GREEN);
ds2411_init();
@ -253,6 +250,10 @@ main(int argc, char **argv)
ctimer_init();
#if WITH_UIP
slip_arch_init(BAUD2UBR(115200));
#endif /* WITH_UIP */
init_platform();
set_rime_addr();