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-Emisar_D4.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 '')
| -rw-r--r-- | hwdef-Emisar_D4.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hwdef-Emisar_D4.h b/hwdef-Emisar_D4.h index 0dfcab9..be499f1 100644 --- a/hwdef-Emisar_D4.h +++ b/hwdef-Emisar_D4.h @@ -1,3 +1,6 @@ +#ifndef HWDEF_EMISAR_D4_H +#define HWDEF_EMISAR_D4_H + /* Emisar D4 driver layout * ---- * Reset -|1 8|- VCC @@ -7,6 +10,8 @@ * ---- */ +#define LAYOUT_DEFINED + #define PWM_CHANNELS 2 //#define AUXLED_PIN PB4 // pin 3 @@ -42,3 +47,4 @@ #define FAST 0xA3 // fast PWM both channels #define PHASE 0xA1 // phase-correct PWM both channels +#endif |
