aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-06-24 19:57:42 -0600
committerSelene ToyKeeper2018-06-24 19:57:42 -0600
commit0870da1dcbb2b446851bfcf507d4535f9eded417 (patch)
tree70a3da9676d951db105d0e04c07c8f5cfef1d2e3 /spaghetti-monster
parentMoved driver-specific details to separate header files. (diff)
downloadanduril-0870da1dcbb2b446851bfcf507d4535f9eded417.tar.gz
anduril-0870da1dcbb2b446851bfcf507d4535f9eded417.tar.bz2
anduril-0870da1dcbb2b446851bfcf507d4535f9eded417.zip
Refactored driver/hardware definition code to be one file per driver type.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-blf-gt.h5
-rw-r--r--spaghetti-monster/anduril/cfg-blf-q8.h4
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d4.h3
-rw-r--r--spaghetti-monster/anduril/cfg-fw3a.h3
4 files changed, 6 insertions, 9 deletions
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