projects
/
apps
/
native
/
position-finder-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change peripheral io APIs
[apps/native/position-finder-server.git]
/
src
/
resource
/
resource_touch_sensor.c
diff --git
a/src/resource/resource_touch_sensor.c
b/src/resource/resource_touch_sensor.c
index
2b75e62
..
3b54fd5
100644
(file)
--- a/
src/resource/resource_touch_sensor.c
+++ b/
src/resource/resource_touch_sensor.c
@@
-36,7
+36,7
@@
void resource_close_touch_sensor(int pin_num)
resource_get_info(pin_num)->opened = 0;
}
resource_get_info(pin_num)->opened = 0;
}
-int resource_read_touch_sensor(int pin_num,
in
t *out_value)
+int resource_read_touch_sensor(int pin_num,
uint32_
t *out_value)
{
int ret = PERIPHERAL_ERROR_NONE;
{
int ret = PERIPHERAL_ERROR_NONE;