diff options
author | Erich Eckner <git@eckner.net> | 2021-03-04 14:20:29 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-03-04 14:20:29 +0100 |
commit | 2ac4843a974822a0b547b52a274d13ac39374b9e (patch) | |
tree | a720985f76f05f9fcd46d89f645bd612a3ecae65 /multiplexer.c | |
parent | 5f036f9ac828ef2620593ae743ffcc53ec410fcb (diff) | |
download | anzeige-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.c | 4 |
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 // |