From baaa5774dbfb06db1a72d5a783dc16d2797cc638 Mon Sep 17 00:00:00 2001 From: Robert Wolterman Date: Mon, 20 Jun 2016 20:25:17 -0500 Subject: [PATCH] Updating the gpio_direction array to contain all the possible gpio. Not sure how this wasn't fubaring the code. --- source/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common.h b/source/common.h index d012856..a70fcf8 100644 --- a/source/common.h +++ b/source/common.h @@ -45,7 +45,7 @@ SOFTWARE. #define FILENAME_BUFFER_SIZE 128 int gpio_mode; -int gpio_direction[120]; +int gpio_direction[1024]; char ctrl_dir[35]; char ocp_dir[25];