aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-09-07 00:58:53 -0600
committerSelene ToyKeeper2020-09-07 00:58:53 -0600
commit2062768bec533263f4e627dd52b1a38a1c813158 (patch)
tree8398aae16aca5cac5038fb9d80a03815704e243e
parentadjusted Lume1 (FW3X) cfg and hwdef according to what seems right for it (diff)
downloadanduril-2062768bec533263f4e627dd52b1a38a1c813158.tar.gz
anduril-2062768bec533263f4e627dd52b1a38a1c813158.tar.bz2
anduril-2062768bec533263f4e627dd52b1a38a1c813158.zip
cleaned up cfg-fw3x-lume1.h a little:
- removed old thermal definitions which aren't used any more - rearranged a couple options to group them better
-rw-r--r--spaghetti-monster/anduril/cfg-fw3x-lume1.h28
1 files changed, 9 insertions, 19 deletions
diff --git a/spaghetti-monster/anduril/cfg-fw3x-lume1.h b/spaghetti-monster/anduril/cfg-fw3x-lume1.h
index 0ab93ca..cf4d9bc 100644
--- a/spaghetti-monster/anduril/cfg-fw3x-lume1.h
+++ b/spaghetti-monster/anduril/cfg-fw3x-lume1.h
@@ -44,18 +44,17 @@
// TODO: test if underclocking works on lume1
//#define HALFSPEED_LEVEL 14
//#define QUARTERSPEED_LEVEL 5
-
-// the entire ramp is regulated except turbo; don't blink halfway up
-#ifdef BLINK_AT_RAMP_MIDDLE
-#undef BLINK_AT_RAMP_MIDDLE
-#endif
-
// don't slow down at low levels; this isn't that sort of light
// (it needs to stay at full speed for the 10-bit PWM to work)
#ifdef USE_DYNAMIC_UNDERCLOCKING
#undef USE_DYNAMIC_UNDERCLOCKING
#endif
+// the entire ramp is regulated except turbo; don't blink halfway up
+#ifdef BLINK_AT_RAMP_MIDDLE
+#undef BLINK_AT_RAMP_MIDDLE
+#endif
+
#define RAMP_SMOOTH_FLOOR 1
#define RAMP_SMOOTH_CEIL 149
// turn on BuckBoost from level 1 to 149, but not 150
@@ -72,6 +71,9 @@
#define MUGGLE_FLOOR RAMP_DISCRETE_FLOOR
#define MUGGLE_CEILING 99
+// slow down party strobe; this driver can't pulse for too short a time
+#define PARTY_STROBE_ONTIME 4
+
// optional, makes initial turbo step-down faster so first peak isn't as hot
// FET mode can run very very hot, so be extra careful
//#define THERM_HARD_TURBO_DROP
@@ -79,22 +81,10 @@
// stop panicking at ~85% regulated power or ~750 lm
#define THERM_FASTER_LEVEL 140
-// respond to thermal changes faster
-#define THERMAL_WARNING_SECONDS 3
-#define THERMAL_UPDATE_SPEED 1
-#define THERM_PREDICTION_STRENGTH 4
-//#define THERM_RESPONSE_MAGNITUDE 128
+#define THERM_CAL_OFFSET 0 // not needed due to external sensor
// easier access to thermal config mode, similar to Emisar, Noctigon
#define USE_TENCLICK_THERMAL_CONFIG
-// slow down party strobe; this driver can't pulse for too short a time
-#define PARTY_STROBE_ONTIME 4
-
-#ifdef THERM_CAL_OFFSET
-#undef THERM_CAL_OFFSET
-#endif
-#define THERM_CAL_OFFSET 0 // not needed due to external sensor
-
// can't reset the normal way because power is connected before the button
#define USE_SOFT_FACTORY_RESET
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.