From ebdebbf639d7b09c3a43f0599c60b92bfcbccb41 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Fri, 23 Nov 2018 23:49:49 +0000 Subject: [PATCH] Actually use the libgpiod output routine when asked. --- clunk.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clunk.c b/clunk.c index cb31782..faad118 100644 --- a/clunk.c +++ b/clunk.c @@ -184,6 +184,7 @@ init_libgpiod(char const *gpio_name) err(1, "GPIO line '%s'", gpio_name); if (gpiod_line_request_output(libgpiod_line, "clunk", false) == -1) err(1, "requesting '%s'", gpio_name); + outfn = &libgpiod_out; } static void -- 2.30.2