aboutsummaryrefslogtreecommitdiff
path: root/hwdef-nanjg.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-12-18 15:08:05 -0700
committerSelene ToyKeeper2018-12-18 15:08:05 -0700
commita1713978973d478a974387c52f6e00190d4a274c (patch)
treed5e5989026a87036610f404d2cd87b3805d4655b /hwdef-nanjg.h
parentmerged updates from fsm branch (diff)
parentmerged include-fix branch, cleans up how include files / config files get pul... (diff)
downloadanduril-a1713978973d478a974387c52f6e00190d4a274c.tar.gz
anduril-a1713978973d478a974387c52f6e00190d4a274c.tar.bz2
anduril-a1713978973d478a974387c52f6e00190d4a274c.zip
merged include-fix branch for cleaner config file mechanisms
Diffstat (limited to 'hwdef-nanjg.h')
-rw-r--r--hwdef-nanjg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdef-nanjg.h b/hwdef-nanjg.h
index add10d1..135edbc 100644
--- a/hwdef-nanjg.h
+++ b/hwdef-nanjg.h
@@ -1,3 +1,6 @@
+#ifndef HWDEF_NANJG_H
+#define HWDEF_NANJG_H
+
/* NANJG driver layout
*/
#define STAR2_PIN PB0
@@ -14,3 +17,6 @@
#define FAST 0x23 // fast PWM channel 1 only
#define PHASE 0x21 // phase-correct PWM channel 1 only
+#define LAYOUT_DEFINED
+
+#endif