summaryrefslogtreecommitdiff
path: root/multiplexer.h
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-05 13:39:36 +0100
committerErich Eckner <git@eckner.net>2018-11-05 13:39:36 +0100
commitc6454367c84a99a4b17b69117f6eb803da610e72 (patch)
treee5deb68905529bafd4e8d2c93f6f976cda4551bf /multiplexer.h
parent93fa65bd29cf735f680ed112c9b0a6ee012f21cb (diff)
downloadanzeige-c6454367c84a99a4b17b69117f6eb803da610e72.tar.xz
multiplexer: wait_tpic_settle_time new
Diffstat (limited to 'multiplexer.h')
-rw-r--r--multiplexer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/multiplexer.h b/multiplexer.h
index 738d6ad..4f94f17 100644
--- a/multiplexer.h
+++ b/multiplexer.h
@@ -49,6 +49,8 @@ static uint8_t gpioToPUDCLK [] =
#define SCROLL_BUF_LEN 4096
+#define wait_tpic_settle_time for (int i=0; i<100; i++) { asm volatile("" : : "r" (i)); }
+
int mem_fd;
void *gpio_map;