aboutsummaryrefslogtreecommitdiff
path: root/hwdef-TK_Saber.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-12-18 15:02:39 -0700
committerSelene ToyKeeper2018-12-18 15:02:39 -0700
commite966d935f005b230ee67f7afd64a49a9ca5e10b2 (patch)
tree37e043ec7a083ddbfbffb35844279318afc6dddb /hwdef-TK_Saber.h
parentUpdated Anduril text file, mostly. (diff)
parentUpdated the rest of the FSM interfaces to use the new config file system. (diff)
downloadanduril-e966d935f005b230ee67f7afd64a49a9ca5e10b2.tar.gz
anduril-e966d935f005b230ee67f7afd64a49a9ca5e10b2.tar.bz2
anduril-e966d935f005b230ee67f7afd64a49a9ca5e10b2.zip
merged include-fix branch, cleans up how include files / config files get pulled in
Diffstat (limited to 'hwdef-TK_Saber.h')
-rw-r--r--hwdef-TK_Saber.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdef-TK_Saber.h b/hwdef-TK_Saber.h
index e90d5dd..3f49d30 100644
--- a/hwdef-TK_Saber.h
+++ b/hwdef-TK_Saber.h
@@ -1,3 +1,6 @@
+#ifndef HWDEF_TK_SABER_H
+#define HWDEF_TK_SABER_H
+
/* TK 4-color lightsaber driver layout
* ----
* Reset -|1 8|- VCC
@@ -31,3 +34,6 @@
#define FAST 0xA3 // fast PWM both channels
#define PHASE 0xA1 // phase-correct PWM both channels
+#define LAYOUT_DEFINED
+
+#endif