aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Ferrero_Rocher.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-12-18 14:43:52 -0700
committerSelene ToyKeeper2018-12-18 14:43:52 -0700
commitc401894ebea3ed1f9313448324e897b2bf37b8e4 (patch)
treec7d13f8bd51387fb6d02a82faaf06270fe55d95e /hwdef-Ferrero_Rocher.h
parentUpdated Anduril text file, mostly. (diff)
downloadanduril-c401894ebea3ed1f9313448324e897b2bf37b8e4.tar.gz
anduril-c401894ebea3ed1f9313448324e897b2bf37b8e4.tar.bz2
anduril-c401894ebea3ed1f9313448324e897b2bf37b8e4.zip
Reworked the config file include system so it'll include the #defined value
instead of having to hard-code a bunch of specific recognized values.
Diffstat (limited to 'hwdef-Ferrero_Rocher.h')
-rw-r--r--hwdef-Ferrero_Rocher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/hwdef-Ferrero_Rocher.h b/hwdef-Ferrero_Rocher.h
index a46f19d..48519ef 100644
--- a/hwdef-Ferrero_Rocher.h
+++ b/hwdef-Ferrero_Rocher.h
@@ -1,3 +1,6 @@
+#ifndef HWDEF_FERRERO_ROCHER_H
+#define HWDEF_FERRERO_ROCHER_H
+
/* Ferrero Rocher driver layout
* ----
* Reset -|1 8|- VCC
@@ -9,3 +12,7 @@
// TODO: fill in this section, update Ferrero_Rocher code to use it.
#define FAST 0x23 // fast PWM channel 1 only
#define PHASE 0x21 // phase-correct PWM channel 1 only
+
+#define LAYOUT_DEFINED
+
+#endif