3 #include "lib/sensors.h"
4 #include "dev/button-sensor.h"
5 const struct sensors_sensor button_sensor;
6 static int status(
int type);
7 struct sensors_sensor *sensors[1];
8 unsigned char sensors_flags[1];
18 configure(
int type,
int c)
23 if(!status(SENSORS_ACTIVE)) {
43 SENSORS_SENSOR(button_sensor, BUTTON_SENSOR,
44 value, configure, status);