From 0870da1dcbb2b446851bfcf507d4535f9eded417 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 24 Jun 2018 19:57:42 -0600 Subject: Refactored driver/hardware definition code to be one file per driver type. --- spaghetti-monster/anduril/cfg-blf-gt.h | 5 ++--- spaghetti-monster/anduril/cfg-blf-q8.h | 4 ++-- spaghetti-monster/anduril/cfg-emisar-d4.h | 3 +-- spaghetti-monster/anduril/cfg-fw3a.h | 3 +-- 4 files changed, 6 insertions(+), 9 deletions(-) (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/cfg-blf-gt.h b/spaghetti-monster/anduril/cfg-blf-gt.h index e5ce2a1..904668a 100644 --- a/spaghetti-monster/anduril/cfg-blf-gt.h +++ b/spaghetti-monster/anduril/cfg-blf-gt.h @@ -1,3 +1,5 @@ +// BLF GT config options for Anduril + // the button lights up #define USE_INDICATOR_LED // the button is visible while main LEDs are on @@ -5,9 +7,6 @@ // enable blinking indicator LED while off #define TICK_DURING_STANDBY -// not relevant for this driver type -//#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V - // don't blink during ramp, it's irrelevant and annoying on this light #undef BLINK_AT_CHANNEL_BOUNDARIES #undef BLINK_AT_RAMP_CEILING diff --git a/spaghetti-monster/anduril/cfg-blf-q8.h b/spaghetti-monster/anduril/cfg-blf-q8.h index 379fca2..929fb55 100644 --- a/spaghetti-monster/anduril/cfg-blf-q8.h +++ b/spaghetti-monster/anduril/cfg-blf-q8.h @@ -1,3 +1,5 @@ +// BLF Q8 config options for Anduril + // the button lights up #define USE_INDICATOR_LED // the button is visible while main LEDs are on @@ -5,5 +7,3 @@ // enable blinking indicator LED while off #define TICK_DURING_STANDBY -// average drop across diode on this hardware -#define VOLTAGE_FUDGE_FACTOR 7 // add 0.35V diff --git a/spaghetti-monster/anduril/cfg-emisar-d4.h b/spaghetti-monster/anduril/cfg-emisar-d4.h index 4074f01..5421110 100644 --- a/spaghetti-monster/anduril/cfg-emisar-d4.h +++ b/spaghetti-monster/anduril/cfg-emisar-d4.h @@ -1,2 +1 @@ -// average drop across diode on this hardware -#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V +// Emisar D4 config options for Anduril diff --git a/spaghetti-monster/anduril/cfg-fw3a.h b/spaghetti-monster/anduril/cfg-fw3a.h index 4074f01..420eaeb 100644 --- a/spaghetti-monster/anduril/cfg-fw3a.h +++ b/spaghetti-monster/anduril/cfg-fw3a.h @@ -1,2 +1 @@ -// average drop across diode on this hardware -#define VOLTAGE_FUDGE_FACTOR 5 // add 0.25V +// FW3A config options for Anduril -- cgit v1.2.3