aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-04-08 12:11:41 -0600
committerSelene ToyKeeper2019-04-08 12:11:41 -0600
commit43a206cd59ad4da6fa8cfc4ac15aea6085651cab (patch)
tree79d8a31a545859884485cd7836c6d1ba3e5b9b0e /spaghetti-monster/fireflies-ui/cfg-ff-edc-thrower.h
parentmerged trunk (diff)
parentfixed bug: hold-from-off then release and hold failed in stepped ramp (diff)
downloadanduril-43a206cd59ad4da6fa8cfc4ac15aea6085651cab.tar.gz
anduril-43a206cd59ad4da6fa8cfc4ac15aea6085651cab.tar.bz2
anduril-43a206cd59ad4da6fa8cfc4ac15aea6085651cab.zip
merged fsm branch, resolved conflicts in anduril.c, did some quick testing
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
+