aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-04-27 17:52:46 -0600
committerSelene ToyKeeper2020-04-27 17:52:46 -0600
commit0f0085f244d9ec7f49780d3f7286eb824825dfe6 (patch)
tree893214c8a689f677ab3f767a8a3dd3586b93e793 /spaghetti-monster
parentapplied ADC rewrite updates to most recent build targets (diff)
downloadanduril-0f0085f244d9ec7f49780d3f7286eb824825dfe6.tar.gz
anduril-0f0085f244d9ec7f49780d3f7286eb824825dfe6.tar.bz2
anduril-0f0085f244d9ec7f49780d3f7286eb824825dfe6.zip
set default thermal response magnitude back to how it was before the KR4 updates, because it worked well on many hosts before...
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril/cfg-noctigon-kr4.h3
-rw-r--r--spaghetti-monster/fsm-adc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/spaghetti-monster/anduril/cfg-noctigon-kr4.h b/spaghetti-monster/anduril/cfg-noctigon-kr4.h
index 66c5a28..dc71655 100644
--- a/spaghetti-monster/anduril/cfg-noctigon-kr4.h
+++ b/spaghetti-monster/anduril/cfg-noctigon-kr4.h
@@ -43,7 +43,8 @@
// stop panicking at ~25% power or ~1000 lm
#define THERM_FASTER_LEVEL 100
#define MIN_THERM_STEPDOWN DEFAULT_LEVEL
-#define THERM_NEXT_WARNING_THRESHOLD 16
+#define THERM_NEXT_WARNING_THRESHOLD 16 // accumulate less error before adjusting
+#define THERM_RESPONSE_MAGNITUDE 128 // bigger adjustments
// easier access to thermal config mode, for Noctigon
#define USE_TENCLICK_THERMAL_CONFIG
diff --git a/spaghetti-monster/fsm-adc.c b/spaghetti-monster/fsm-adc.c
index 68361ae..45a4297 100644
--- a/spaghetti-monster/fsm-adc.c
+++ b/spaghetti-monster/fsm-adc.c
@@ -295,7 +295,7 @@ static inline void ADC_temperature_handler() {
// fine-grained adjustment
// how proportional should the adjustments be?
#ifndef THERM_RESPONSE_MAGNITUDE
- #define THERM_RESPONSE_MAGNITUDE 128
+ #define THERM_RESPONSE_MAGNITUDE 64
#endif
// acceptable temperature window size in C
#define THERM_WINDOW_SIZE 2
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.