update process initialization and call ctimer_init

This commit is contained in:
maralvira 2010-06-09 18:05:38 +00:00
parent 7aa44f14d9
commit c01421fbb5

View file

@ -332,8 +332,6 @@ set_rimeaddr(rimeaddr_t *addr)
rimeaddr_set_node_addr(addr); rimeaddr_set_node_addr(addr);
} }
PROCINIT(&etimer_process, &ctimer_process, &contiki_maca_process);
int int
main(void) main(void)
{ {
@ -349,9 +347,10 @@ main(void)
/* Process subsystem */ /* Process subsystem */
process_init(); process_init();
process_start(&etimer_process, NULL);
process_start(&contiki_maca_process, NULL);
/* Register initial processes */ ctimer_init();
procinit_init();
set_rimeaddr(&addr); set_rimeaddr(&addr);