aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-06-03 23:15:53 -0600
committerSelene ToyKeeper2019-06-03 23:15:53 -0600
commita8950acf12297a322623cd74b71ea7a1ae4f38eb (patch)
tree56175b113ae47421b19ae8150e4da7ff106bc73d /spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h
parentmerged from fsm branch to get a bunch of new updates (diff)
parentadded compile option to configure response timing on 1-click on/off (at press... (diff)
downloadanduril-a8950acf12297a322623cd74b71ea7a1ae4f38eb.tar.gz
anduril-a8950acf12297a322623cd74b71ea7a1ae4f38eb.tar.bz2
anduril-a8950acf12297a322623cd74b71ea7a1ae4f38eb.zip
merged from fsm branch for updates
Diffstat (limited to 'spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h')
-rw-r--r--spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h b/spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h
new file mode 100644
index 0000000..48f9c15
--- /dev/null
+++ b/spaghetti-monster/fireflies-ui/cfg-ff-e07-2.h
@@ -0,0 +1,27 @@
+// Fireflies E07-2 config options for Anduril / FFUI
+// mostly the same as PL47
+#include "cfg-ff-pl47.h"
+
+// ceiling is level 130/150 (50% power)
+#undef RAMP_SMOOTH_CEIL
+#define RAMP_SMOOTH_CEIL 130
+
+// 20, 56, 93, 130 (83 is highest regulated)
+// (requested config is 1%, 5%, 25%, 50%, double-click-turbo)
+// (but this doesn't allow us to hit level 83)
+#undef RAMP_DISCRETE_FLOOR
+#define RAMP_DISCRETE_FLOOR 20
+#undef RAMP_DISCRETE_CEIL
+#define RAMP_DISCRETE_CEIL RAMP_SMOOTH_CEIL
+#undef RAMP_DISCRETE_STEPS
+#define RAMP_DISCRETE_STEPS 4
+
+// 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
+