36 #include "lib/sensors.h"
37 #include "dev/button-sensor.h"
43 const struct sensors_sensor button_sensor;
45 static struct timer debouncetimer;
46 static int status(
int type);
51 sensors_changed(&button_sensor);
63 configure(
int type,
int c)
68 if(!status(SENSORS_ACTIVE)) {
86 return bit_is_set(*CRM_WU_CNTL, 20);
91 SENSORS_SENSOR(button_sensor, BUTTON_SENSOR,
92 value, configure, status);