summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/resource_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/resource_internal.h b/inc/resource_internal.h
index 5ef6cce..4b06c0d 100644
--- a/inc/resource_internal.h
+++ b/inc/resource_internal.h
@@ -36,6 +36,7 @@
struct _resource_s {
int opened;
peripheral_gpio_h sensor_h;
+ void (*close) (int);
};
typedef struct _resource_s resource_s;