Added rtimer initialization
This commit is contained in:
parent
4364a9929a
commit
459d91512a
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue