aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-03-26 11:55:21 -0600
committerSelene ToyKeeper2019-03-26 11:55:21 -0600
commita1651c1dd602baeb77ae6f17180283049350a419 (patch)
tree287015c7afcca43f779700e0dacbf43f8036579f /spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
parentMade default level configurable per build target, made moon hint blip a bit m... (diff)
parentupdated D18 config to 03-21 version (diff)
downloadanduril-a1651c1dd602baeb77ae6f17180283049350a419.tar.gz
anduril-a1651c1dd602baeb77ae6f17180283049350a419.tar.bz2
anduril-a1651c1dd602baeb77ae6f17180283049350a419.zip
merged Emisar D18 branch, which also includes a bunch of Anduril refactoring
Diffstat (limited to 'spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h')
-rw-r--r--spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h b/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
new file mode 100644
index 0000000..31be0ef
--- /dev/null
+++ b/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
@@ -0,0 +1,27 @@
+// Fireflies EDC thrower config options for Fireflies UI
+#include "cfg-ff-pl47.h"
+
+// disable indicator LED
+#undef USE_INDICATOR_LED
+
+// ceiling is level 130/150 (50% power)
+#undef RAMP_SMOOTH_CEIL
+#define RAMP_SMOOTH_CEIL 130
+
+// 36, 83, 130 (83 is highest regulated)
+#undef RAMP_DISCRETE_FLOOR
+#define RAMP_DISCRETE_FLOOR 36
+#undef RAMP_DISCRETE_CEIL
+#define RAMP_DISCRETE_CEIL RAMP_SMOOTH_CEIL
+#undef RAMP_DISCRETE_STEPS
+#define RAMP_DISCRETE_STEPS 3
+
+// regulate down faster when the FET is active, slower otherwise
+#undef THERM_FASTER_LEVEL
+#define THERM_FASTER_LEVEL 130 // throttle back faster when high
+
+// play it safe, don't try to regulate above the recommended safe level
+#ifndef THERM_HARD_TURBO_DROP
+#define THERM_HARD_TURBO_DROP
+#endif
+