summaryrefslogtreecommitdiffstats
path: root/rstbutton/button_reset_obj.c
diff options
context:
space:
mode:
Diffstat (limited to 'rstbutton/button_reset_obj.c')
-rw-r--r--rstbutton/button_reset_obj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rstbutton/button_reset_obj.c b/rstbutton/button_reset_obj.c
index 245c3c1..96fceb1 100644
--- a/rstbutton/button_reset_obj.c
+++ b/rstbutton/button_reset_obj.c
@@ -113,7 +113,7 @@ on_bus_acquired(GDBusConnection *connection,
// get gpio device paths
int rc = GPIO_OK;
do {
- rc = gpio_init(connection,&gpio_button);
+ rc = gpio_init(&gpio_button);
gpio_inits_done();
if(rc != GPIO_OK) { break; }
rc = gpio_open_interrupt(&gpio_button,on_button_interrupt,object);
OpenPOWER on IntegriCloud