Added delay at startup to let things stabilize before writing to the uart
This commit is contained in:
parent
8053e2c353
commit
919ddfbf09
|
@ -203,12 +203,16 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
leds_on(LEDS_RED);
|
leds_on(LEDS_RED);
|
||||||
|
|
||||||
|
clock_wait(2);
|
||||||
|
|
||||||
uart1_init(115200); /* Must come before first printf */
|
uart1_init(115200); /* Must come before first printf */
|
||||||
|
|
||||||
#if WITH_UIP
|
#if WITH_UIP
|
||||||
slip_arch_init(115200);
|
slip_arch_init(115200);
|
||||||
#endif /* WITH_UIP */
|
#endif /* WITH_UIP */
|
||||||
|
|
||||||
|
clock_wait(1);
|
||||||
|
|
||||||
leds_on(LEDS_GREEN);
|
leds_on(LEDS_GREEN);
|
||||||
//ds2411_init();
|
//ds2411_init();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue