summaryrefslogtreecommitdiffstats
path: root/src/tempmodule
diff options
context:
space:
mode:
authorGravatar Gediminas Jakutis <gediminas@varciai.lt> 2018-02-09 11:11:35 +0200
committerGravatar Gediminas Jakutis <gediminas@varciai.lt> 2018-02-09 11:11:35 +0200
commite2c9e3d56f87d84d527fdee155f285c128746544 (patch)
tree684f1aa41e851abbab431d84eeb7e1d6a9525b0e /src/tempmodule
parent7b3484721a39611f4baf3ccb0c4daba0c1445c75 (diff)
downloadcoffeetemp-e2c9e3d56f87d84d527fdee155f285c128746544.tar.gz
coffeetemp-e2c9e3d56f87d84d527fdee155f285c128746544.tar.bz2
coffeetemp-e2c9e3d56f87d84d527fdee155f285c128746544.zip
tempmodule: fix resistence table.
Diffstat (limited to 'src/tempmodule')
-rw-r--r--src/tempmodule/main.ino8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tempmodule/main.ino b/src/tempmodule/main.ino
index f76ee20..e6c4b8b 100644
--- a/src/tempmodule/main.ino
+++ b/src/tempmodule/main.ino
@@ -213,10 +213,10 @@ static int get_temperature(int res)
int ret;
size_t i;
static const struct temptuple lt[] = {
- {1452, 2630}, {1613, 2730}, {1754, 2830}, {1903, 2930},
- {2059, 3030}, {2222, 3130}, {2393, 3230}, {2571, 3330},
- {2757, 3430}, {2950, 3530}, {3150, 3630}, {3358, 3730},
- {3571, 3830}};
+ {1495, 2630}, {1630, 2730}, {1772, 2830}, {1922, 2930},
+ {2080, 3030}, {2245, 3130}, {2417, 3230}, {2597, 3330},
+ {2785, 3430}, {2980, 3530}, {3182, 3630}, {3392, 3730},
+ {3607, 3830}};
for (i = 0; i < 9; ++i) {
/* If we have a matching resistance, nothing to calculate. */