aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBen V. Brown <[email protected]>2017-01-23 19:39:56 +1100
committerBen V. Brown <[email protected]>2017-01-23 19:39:56 +1100
commit1f7cdf9694d2e836dc973b6f8c01932a51a4c391 (patch)
tree064055a5a5511921c5c607c9951c0fd320f62c4f
parentb2db129ab813627e58eaa5fbcbde0e8b27247ad0 (diff)
downloadIronOS-1f7cdf9694d2e836dc973b6f8c01932a51a4c391.tar.gz
IronOS-1f7cdf9694d2e836dc973b6f8c01932a51a4c391.zip
For temperature mode force readingv1.02
-rw-r--r--workspace/ts100/src/Modes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/workspace/ts100/src/Modes.c b/workspace/ts100/src/Modes.c
index 7e93e981..d04098fc 100644
--- a/workspace/ts100/src/Modes.c
+++ b/workspace/ts100/src/Modes.c
@@ -323,6 +323,7 @@ void DrawUI() {
OLED_DrawString("LOW VOLT", 8);
break;
case THERMOMETER:
+ temp = readIronTemp(0, 1);//Force a reading as heater is off
OLED_DrawString("TEMP ", 5);//extra one to it clears the leftover 'L' from IDLE
drawTemp(temp, 5);
break;