diff options
-rw-r--r-- | main.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,6 +4,11 @@ | |||
4 | 4 | ||
5 | #ifdef ARDUINO | 5 | #ifdef ARDUINO |
6 | #define NO_DISPLAY | 6 | #define NO_DISPLAY |
7 | #define harfe_debug(...) | ||
8 | #define harfe_error(...) | ||
9 | #else | ||
10 | #define harfe_debug printf | ||
11 | #define harfe_error fprintf | ||
7 | #endif | 12 | #endif |
8 | 13 | ||
9 | uint32_t now(); // get monotonic time in ms | 14 | uint32_t now(); // get monotonic time in ms |