fix typo in resource_adc_mcp3008.c
[apps/native/position-finder-server.git] / inc / resource_internal.h
old mode 100644 (file)
new mode 100755 (executable)
index 5ef6cce..df99356
 #include "resource/resource_touch_sensor_internal.h"
 #include "resource/resource_ultrasonic_sensor_internal.h"
 #include "resource/resource_led_internal.h"
+#include "resource/resource_vibration_sensor_internal.h"
+#include "resource/resource_flame_sensor_internal.h"
+#include "resource/resource_rain_sensor_internal.h"
+#include "resource/resource_sound_detection_sensor_internal.h"
+#include "resource/resource_tilt_sensor_internal.h"
+#include "resource/resource_gas_detection_sensor_internal.h"
+#include "resource/resource_sound_level_sensor_internal.h"
 
 #define PIN_MAX 40
 
 struct _resource_s {
        int opened;
        peripheral_gpio_h sensor_h;
+       void (*close) (int);
 };
 typedef struct _resource_s resource_s;