From c401894ebea3ed1f9313448324e897b2bf37b8e4 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 18 Dec 2018 14:43:52 -0700 Subject: 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. --- hwdef-FET_7135.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hwdef-FET_7135.h') diff --git a/hwdef-FET_7135.h b/hwdef-FET_7135.h index 58df7b2..c89d3ce 100644 --- a/hwdef-FET_7135.h +++ b/hwdef-FET_7135.h @@ -1,3 +1,6 @@ +#ifndef HWDEF_FET_7135_H +#define HWDEF_FET_7135_H + /* FET + 7135 driver layout * ---- * Reset -|1 8|- VCC @@ -30,3 +33,6 @@ #define FAST 0xA3 // fast PWM both channels #define PHASE 0xA1 // phase-correct PWM both channels +#define LAYOUT_DEFINED + +#endif -- cgit v1.2.3