summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2005-11-19 15:36:27 +0000
committerkhali <khali@7894878c-1315-0410-8ee3-d5d059ff63e0>2005-11-19 15:36:27 +0000
commite8b330b0a176087143ccfac58b8d5c2a400a8612 (patch)
tree0e8346c6410ad58b632277e8a18ca01f9580aa08 /etc
parent7df0763187935368685a9d25a348d1f690586f79 (diff)
downloadlm-sensors-e8b330b0a176087143ccfac58b8d5c2a400a8612.tar.gz
Simplify vt8231 thermistor equations a little.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3195 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'etc')
-rw-r--r--etc/sensors.conf.eg10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg
index 1f45957d..dd3ee894 100644
--- a/etc/sensors.conf.eg
+++ b/etc/sensors.conf.eg
@@ -2099,12 +2099,12 @@ chip "vt8231-*"
# '^' is the e**x operator; '`' is the ln(x) operator
# (valid in library version 1.4.0 / lm_sensors 2.7.1 or higher)
# This assumes that the thermistor forms a resistor divider with a resistor
-# equal to its nominal value @ 25C.
+# equal to its nominal value at 25 degrees C.
- compute temp2 3435 / (` (1 / (1 - @ / 2.2) - 1) + 3435 / 298.15) - 273.15, \
- 2.2 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
- compute temp3 3435 / (` (1 / (1 - @ / 2.2) - 1) + 3435 / 298.15) - 273.15, \
- 2.2 * (1 - 1 / (1 + (^ (3435 / (273.15 + @) - 3435 / 298.15))))
+ compute temp2 1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
+ 2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
+ compute temp3 1 / (1 / 298.15 - (` (2.2 / @ - 1)) / 3435) - 273.15, \
+ 2.2 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @))))
# set temp2_hyst 40
# set temp2_over 45