diff options
author | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 23:10:33 +0200 |
---|---|---|
committer | erdgeist <erdgeist@bauklotz.fritz.box> | 2016-08-12 23:10:33 +0200 |
commit | bd11e3abfb9a75a89cd7a9b48090d6f32b086896 (patch) | |
tree | 1b88f00c91c6b6d5d685217f4522e5c68c9be11e /main.h | |
parent | 9231ba91659d655501a37e9758abfc2e1b5436d7 (diff) |
set NO_DISPLAY on ARDUINO
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,6 +1,10 @@ | |||
1 | #pragma once | 1 | #pragma once |
2 | #include <stdint.h> | 2 | #include <stdint.h> |
3 | 3 | ||
4 | #ifdef ARDUINO | ||
5 | #define NO_DISPLAY | ||
6 | #endif | ||
7 | |||
4 | uint32_t now(); // get monotonic time in ms | 8 | uint32_t now(); // get monotonic time in ms |
5 | 9 | ||
6 | extern int g_width; | 10 | extern int g_width; |