aboutsummaryrefslogtreecommitdiff
path: root/hw/lumintop/fw3x-lume1/anduril.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-28 12:40:16 -0700
committerSelene ToyKeeper2023-11-28 12:40:16 -0700
commit064ea51863a4d873efef2cf9bfc557233a7057fb (patch)
tree49a9ac86b9ce3598ab7c4c9f15a52447d7dc0c01 /hw/lumintop/fw3x-lume1/anduril.h
parentfixed incorrect temperature history for a few seconds after waking (diff)
downloadanduril-064ea51863a4d873efef2cf9bfc557233a7057fb.tar.gz
anduril-064ea51863a4d873efef2cf9bfc557233a7057fb.tar.bz2
anduril-064ea51863a4d873efef2cf9bfc557233a7057fb.zip
fixed FW3X thermal regulation
It had no minimum thermal stepdown defined, so it used MAX_7135 by default, which was level 149/150 ... thus virtually no regulation. I also made it easier to switch between internal and external temperature sensors by just commenting out a few lines in the hwdef.h.
Diffstat (limited to 'hw/lumintop/fw3x-lume1/anduril.h')
-rw-r--r--hw/lumintop/fw3x-lume1/anduril.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/lumintop/fw3x-lume1/anduril.h b/hw/lumintop/fw3x-lume1/anduril.h
index b7dbc82..cd06c6a 100644
--- a/hw/lumintop/fw3x-lume1/anduril.h
+++ b/hw/lumintop/fw3x-lume1/anduril.h
@@ -33,6 +33,7 @@
#define PWM2_LEVELS 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255
#define DEFAULT_LEVEL 56
#define MAX_1x7135 149
+#define MIN_THERM_STEPDOWN 50
#define HALFSPEED_LEVEL 21
#define QUARTERSPEED_LEVEL 11