mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
Added delay at startup to let things stabilize before writing to the uart
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user