summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-04-01 00:22:16 +0200
committerDavid Lamparter <equinox@diac24.net>2012-04-01 00:22:16 +0200
commit0a60a76afcf938c6885395fb16b6c168179921e5 (patch)
tree868d844830a6e7e588dde90faf144b78366b50c8 /types.h
parent75a61c57fb0402f777bfa828dd71818a97ed54a4 (diff)
adapted to ATtiny26 / sublab setup
Diffstat (limited to 'types.h')
-rw-r--r--types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/types.h b/types.h
index a18a03b..eb9fb05 100644
--- a/types.h
+++ b/types.h
@@ -1,4 +1,7 @@
-#include<pgmspace.h>
+#ifndef _TYPES_H
+#define _TYPES_H
+
+#include <avr/pgmspace.h>
typedef unsigned char u8;
typedef signed char s8;
@@ -21,3 +24,5 @@ typedef signed long s32;
#define xdata
#define bit uchar
+
+#endif /* _TYPES_H */