projects
/
platform
/
core
/
api
/
peripheral-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50815c3
)
pio: deliver user data to gpio interrupted callback function
00/170300/1
accepted/tizen/unified/20180219.142443
submit/tizen/20180219.102234
author
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 19 Feb 2018 03:42:04 +0000
(12:42 +0900)
committer
kibak.yoon
<kibak.yoon@samsung.com>
Mon, 19 Feb 2018 03:42:04 +0000
(12:42 +0900)
Change-Id: Ib0048d8031a5799e0a495adafdbc4f824e117801
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/interface/peripheral_interface_gpio.c
patch
|
blob
|
history
diff --git
a/src/interface/peripheral_interface_gpio.c
b/src/interface/peripheral_interface_gpio.c
index
90c2a21
..
ce9dbf4
100644
(file)
--- a/
src/interface/peripheral_interface_gpio.c
+++ b/
src/interface/peripheral_interface_gpio.c
@@
-187,7
+187,7
@@
void peripheral_interface_gpio_close(peripheral_gpio_h gpio)
static gboolean __peripheral_interface_gpio_interrupted_cb_invoke(gpointer data)
{
peripheral_gpio_h gpio = (peripheral_gpio_h)data;
- gpio->cb_info.cb(gpio, gpio->cb_info.error,
NULL
);
+ gpio->cb_info.cb(gpio, gpio->cb_info.error,
gpio->cb_info.user_data
);
return FALSE;
}
@@
-266,4
+266,4
@@
int peripheral_interface_gpio_unset_interrupted_cb(peripheral_gpio_h gpio)
}
return PERIPHERAL_ERROR_NONE;
-}
\ No newline at end of file
+}