Added rtimer initialization

This commit is contained in:
adamdunkels 2007-05-15 08:11:33 +00:00
parent 4364a9929a
commit 459d91512a

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-esb-main.c,v 1.8 2007/04/02 13:35:54 nifi Exp $
* @(#)$Id: contiki-esb-main.c,v 1.9 2007/05/15 08:11:33 adamdunkels Exp $
*/
#include <io.h>
@ -46,7 +46,8 @@ SENSORS(&button_sensor, &sound_sensor, &vib_sensor,
&pir_sensor, &radio_sensor, &battery_sensor, &ctsrts_sensor,
&temperature_sensor);
PROCINIT(&sensors_process, &ir_process, &etimer_process,
PROCINIT(&sensors_process, /*&ir_process,*/
&etimer_process,
&cfs_eeprom_process);
PROCESS(contiki_esb_main_init_process, "Contiki ESB init process");
@ -124,6 +125,8 @@ main(void)
clock_init();
rtimer_init();
process_init();
random_init(0);