Skip to content

Commit

Permalink
For temperature mode force reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralim committed Jan 23, 2017
1 parent b2db129 commit 1f7cdf9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workspace/ts100/src/Modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1f7cdf9

Please sign in to comment.