summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.h b/main.h
index 38fe4ff..e3df319 100644
--- a/main.h
+++ b/main.h
@@ -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
9uint32_t now(); // get monotonic time in ms 14uint32_t now(); // get monotonic time in ms