API change for Rime: *_setup() renamed to *_open()

This commit is contained in:
adamdunkels 2007-03-19 19:24:36 +00:00
parent a97285863e
commit 43326b5ae6
27 changed files with 73 additions and 73 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: test-abc.c,v 1.1 2007/03/15 22:11:11 adamdunkels Exp $
* $Id: test-abc.c,v 1.2 2007/03/19 19:24:36 adamdunkels Exp $
*/
/**
@ -62,7 +62,7 @@ PROCESS_THREAD(test_abc_process, ev, data)
{
PROCESS_BEGIN();
abc_setup(&abc, 128, &abc_call);
abc_open(&abc, 128, &abc_call);
while(1) {
static struct etimer et;

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: test-meshroute.c,v 1.1 2007/03/15 22:06:19 adamdunkels Exp $
* $Id: test-meshroute.c,v 1.2 2007/03/19 19:24:36 adamdunkels Exp $
*/
/**
@ -71,7 +71,7 @@ PROCESS_THREAD(test_mesh_process, ev, data)
{
PROCESS_BEGIN();
mesh_setup(&callbacks, NULL);
mesh_open(&callbacks, NULL);
button_sensor.activate();