Updated to match the new sensors API
This commit is contained in:
parent
51c8ff150e
commit
bf04174bb3
7 changed files with 14 additions and 14 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: example-rudolph2.c,v 1.5 2010/01/14 14:32:22 joxe Exp $
|
||||
* $Id: example-rudolph2.c,v 1.6 2010/01/15 10:24:37 nifi Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -146,7 +146,7 @@ PROCESS_THREAD(example_rudolph2_process, ev, data)
|
|||
|
||||
|
||||
rudolph2_open(&rudolph2, 142, &rudolph2_call);
|
||||
button_sensor.configure(SENSORS_ACTIVE, (void *) 1);
|
||||
SENSORS_ACTIVATE(button_sensor);
|
||||
|
||||
PROCESS_PAUSE();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue