Do clock init before any RS232 output

This commit is contained in:
dak664 2010-12-01 16:30:34 +00:00
parent 3d3ad9e2c2
commit 30885ba4ce

View file

@ -101,7 +101,10 @@ init_lowlevel(void)
/* Redirect stdout to second port */ /* Redirect stdout to second port */
rs232_redirect_stdout(RS232_PORT_1); rs232_redirect_stdout(RS232_PORT_1);
/* rtimers needed for radio cycling */ /* Clock */
clock_init();
/* rtimers needed for radio cycling */
rtimer_init(); rtimer_init();
/* Initialize process subsystem */ /* Initialize process subsystem */
@ -177,9 +180,6 @@ main(void)
/* Initialize hardware */ /* Initialize hardware */
init_lowlevel(); init_lowlevel();
/* Clock */
clock_init();
/* Register initial processes */ /* Register initial processes */
// procinit_init(); // procinit_init();