Added delay at startup to let things stabilize before writing to the uart

This commit is contained in:
Niclas Finne 2012-09-19 22:47:48 +02:00
parent 8053e2c353
commit 919ddfbf09
1 changed files with 4 additions and 0 deletions

View File

@ -203,12 +203,16 @@ main(int argc, char **argv)
leds_on(LEDS_RED);
clock_wait(2);
uart1_init(115200); /* Must come before first printf */
#if WITH_UIP
slip_arch_init(115200);
#endif /* WITH_UIP */
clock_wait(1);
leds_on(LEDS_GREEN);
//ds2411_init();