bugfix: slip must be initialized after ctimer, as it uses ctimers
This commit is contained in:
parent
b6ed988709
commit
d270e4943d
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue