mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
radio sensor was removed
This commit is contained in:
parent
90bb63a383
commit
45a6740782
@ -26,14 +26,13 @@
|
|||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: testsensors.c,v 1.3 2010/01/14 19:19:50 nifi Exp $
|
* $Id: testsensors.c,v 1.4 2010/03/10 07:35:09 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "contiki.h"
|
#include "contiki.h"
|
||||||
#include "dev/button-sensor.h"
|
#include "dev/button-sensor.h"
|
||||||
#include "dev/pir-sensor.h"
|
#include "dev/pir-sensor.h"
|
||||||
#include "dev/vib-sensor.h"
|
#include "dev/vib-sensor.h"
|
||||||
#include "dev/radio-sensor.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
@ -48,7 +47,6 @@ PROCESS_THREAD(test_sensors_process, ev, data)
|
|||||||
button_sensor.configure(SENSORS_ACTIVE, 1);
|
button_sensor.configure(SENSORS_ACTIVE, 1);
|
||||||
pir_sensor.configure(SENSORS_ACTIVE, 1);
|
pir_sensor.configure(SENSORS_ACTIVE, 1);
|
||||||
vib_sensor.configure(SENSORS_ACTIVE, 1);
|
vib_sensor.configure(SENSORS_ACTIVE, 1);
|
||||||
radio_sensor.configure(SENSORS_ACTIVE, 1);
|
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
PROCESS_WAIT_EVENT();
|
PROCESS_WAIT_EVENT();
|
||||||
|
Loading…
Reference in New Issue
Block a user