summaryrefslogtreecommitdiff
path: root/include/debug.h
diff options
context:
space:
mode:
authorLeo C2014-08-23 19:34:22 +0200
committerLeo C2014-08-23 19:34:22 +0200
commit61b0cfe9df810db4fbca78e5f880d61c5063f324 (patch)
treeec9b73a87afa5fdd90acc3c7309104399db104b7 /include/debug.h
parent21a24f90c5aaaaf13f91716208b32cde163c5918 (diff)
downloadz180-stamp-61b0cfe9df810db4fbca78e5f880d61c5063f324.zip
Add date rtc i2c
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/debug.h b/include/debug.h
index 7c19e40..8fdc830 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -3,7 +3,9 @@
#define DEBUG_H_
#include "common.h"
+#ifdef __AVR__
#include <avr/pgmspace.h>
+#endif
#ifdef DEBUG
#define _DEBUG 1
@@ -31,6 +33,8 @@
#endif /* 0 */
+void dump_eep(const uint8_t *addr, unsigned int len, char *title);
+void dump_ram(const uint8_t *addr, unsigned int len, char *title);
void printfreelist(const char * title);