summaryrefslogtreecommitdiff
path: root/multiplexer.c
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-04 14:20:29 +0100
committerErich Eckner <git@eckner.net>2021-03-04 14:20:29 +0100
commit2ac4843a974822a0b547b52a274d13ac39374b9e (patch)
treea720985f76f05f9fcd46d89f645bd612a3ecae65 /multiplexer.c
parent5f036f9ac828ef2620593ae743ffcc53ec410fcb (diff)
downloadanzeige-2ac4843a974822a0b547b52a274d13ac39374b9e.tar.xz
multiplexer.[ch]: make global variables "extern" to the .h and repeat in the .c
Diffstat (limited to 'multiplexer.c')
-rw-r--r--multiplexer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/multiplexer.c b/multiplexer.c
index d0ae7c7..c893ca3 100644
--- a/multiplexer.c
+++ b/multiplexer.c
@@ -11,6 +11,10 @@
#include "multiplexer.h"
+int mem_fd;
+void *gpio_map;
+volatile unsigned *gpio;
+
//
// Set up a memory regions to access GPIO
//