aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2018-11-03 18:46:57 -0600
committerSelene ToyKeeper2018-11-03 18:46:57 -0600
commit5699260c774749d9a6b1b5ad855a816806ed1be7 (patch)
tree55af3b7025e4a13ea8d0261300aef08f522a7b9a /spaghetti-monster
parentadded missing ifdef which broke per-hardware ramp lengths (diff)
downloadanduril-5699260c774749d9a6b1b5ad855a816806ed1be7.tar.gz
anduril-5699260c774749d9a6b1b5ad855a816806ed1be7.tar.bz2
anduril-5699260c774749d9a6b1b5ad855a816806ed1be7.zip
forgot to add the Sofirn SP36 config file earlier, oops
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-sofirn-sp36.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/cfg-sofirn-sp36.h b/spaghetti-monster/anduril/cfg-sofirn-sp36.h
new file mode 100644
index 0000000..11e3735
--- /dev/null
+++ b/spaghetti-monster/anduril/cfg-sofirn-sp36.h
@@ -0,0 +1,16 @@
+// Sofirn SP36 (small Q8) config options for Anduril
+
+#define FSM_BLF_Q8_DRIVER
+#include "cfg-blf-q8.h"
+
+// stop panicking at ~50% power or ~2000 lm
+#ifdef THERM_FASTER_LEVEL
+#undef THERM_FASTER_LEVEL
+#endif
+#define THERM_FASTER_LEVEL 125
+
+// be extra-careful at high levels
+#ifndef THERM_HARD_TURBO_DROP
+#define THERM_HARD_TURBO_DROP
+#endif
+