aboutsummaryrefslogtreecommitdiff
path: root/hwdef-nanjg.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-01-23 19:04:21 -0700
committerSelene ToyKeeper2019-01-23 19:04:21 -0700
commit187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df (patch)
treed6b68c6d02eed42b6fd6b9041f712baf40392b30 /hwdef-nanjg.h
parentUpdated README to point at build/flash scripts. (diff)
parentmerged trunk (diff)
downloadanduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.tar.gz
anduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.tar.bz2
anduril-187ce7a5b7b48e8e1643efb8567e04b7bb2bf2df.zip
merged past 2 months of updates from fsm branch:
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