diff options
| author | Selene ToyKeeper | 2018-12-18 14:43:52 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2018-12-18 14:43:52 -0700 |
| commit | c401894ebea3ed1f9313448324e897b2bf37b8e4 (patch) | |
| tree | c7d13f8bd51387fb6d02a82faaf06270fe55d95e /hwdef-nanjg.h | |
| parent | Updated Anduril text file, mostly. (diff) | |
| download | anduril-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-nanjg.h')
| -rw-r--r-- | hwdef-nanjg.h | 6 |
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 |
