chiark
/
gitweb
/
~bjharris
/
clunk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca37924
)
Actually use the libgpiod output routine when asked.
author
Ben Harris
<bjh21@bjh21.me.uk>
Fri, 23 Nov 2018 23:49:49 +0000
(23:49 +0000)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000
(22:30 +0000)
clunk.c
patch
|
blob
|
history
diff --git
a/clunk.c
b/clunk.c
index cb31782fb33565b78394328cadb8ac14106ffa13..faad118b0e5b09484a0ac5eacd51a372aa3c1db6 100644
(file)
--- 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