Added rtimer, ethernode rime initialization
This commit is contained in:
parent
a473b6ff33
commit
6357c240c0
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Adam Dunkels <adam@sics.se>
|
* Author: Adam Dunkels <adam@sics.se>
|
||||||
*
|
*
|
||||||
* $Id: contiki-main.c,v 1.15 2007/05/20 21:41:31 oliverschmidt Exp $
|
* $Id: contiki-main.c,v 1.16 2007/05/22 21:08:57 adamdunkels Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
|
@ -79,7 +79,6 @@ SENSORS(&button_sensor, &pir_sensor, &vib_sensor, &radio_sensor);
|
||||||
|
|
||||||
PROCINIT(&sensors_process, &etimer_process, &tcpip_process,
|
PROCINIT(&sensors_process, &etimer_process, &tcpip_process,
|
||||||
/* ðernode_uip_process,*/
|
/* ðernode_uip_process,*/
|
||||||
ðernode_rime_process,
|
|
||||||
&uip_fw_process);
|
&uip_fw_process);
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
@ -115,6 +114,10 @@ contiki_main(int flag)
|
||||||
|
|
||||||
leds_green(LEDS_ON);
|
leds_green(LEDS_ON);
|
||||||
|
|
||||||
|
rtimer_init();
|
||||||
|
|
||||||
|
ethernode_rime_init();
|
||||||
|
|
||||||
autostart_start(autostart_processes);
|
autostart_start(autostart_processes);
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
|
|
Loading…
Reference in a new issue