mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-08 12:30:40 +00:00
starting the tr1001 rime process at init
This commit is contained in:
parent
3d1c427c60
commit
6910c4d311
@ -28,18 +28,22 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: contiki-esb-default-init-net.c,v 1.5 2007/03/28 20:34:33 adamdunkels Exp $
|
||||
* @(#)$Id: contiki-esb-default-init-net.c,v 1.6 2007/04/04 09:12:14 fros4943 Exp $
|
||||
*/
|
||||
|
||||
#include "contiki-esb.h"
|
||||
|
||||
#include "net/rime.h"
|
||||
|
||||
#include "net/tr1001-rime.h"
|
||||
|
||||
void
|
||||
init_net(void)
|
||||
{
|
||||
rimeaddr_t rimeaddr;
|
||||
|
||||
process_start(&tr1001_rime_process, NULL);
|
||||
|
||||
rime_init();
|
||||
rimeaddr.u8[0] = node_id >> 8;
|
||||
rimeaddr.u8[1] = node_id & 0xff;
|
||||
|
Loading…
Reference in New Issue
Block a user