From f5a7764579e193fe3efb4cf97ac858a93a8f765d Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 10 Nov 2018 14:13:42 -0500 Subject: style --- freeonebook.c | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.2.1