From: Ben Harris Date: Fri, 23 Nov 2018 23:49:49 +0000 (+0000) Subject: Actually use the libgpiod output routine when asked. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=ebdebbf639d7b09c3a43f0599c60b92bfcbccb41;p=clunk.git Actually use the libgpiod output routine when asked. --- 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