summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--freeonebook.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/freeonebook.c b/freeonebook.c
index 713f16d..bd8882d 100644
--- a/freeonebook.c
+++ b/freeonebook.c
@@ -124,6 +124,7 @@ void gpio_init(void)
{ 148, out, 0 },
{ 149, out, 0 },
};
+
int gpio_export = open(GPIO_EXPORT, O_WRONLY);
for (int i = 0; i < sizeof(ports) / sizeof(ports[0]); i++) {
printf("enabling port %d\n", ports[i].port);