mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
For temperature mode force reading
This commit is contained in:
@@ -323,6 +323,7 @@ void DrawUI() {
|
|||||||
OLED_DrawString("LOW VOLT", 8);
|
OLED_DrawString("LOW VOLT", 8);
|
||||||
break;
|
break;
|
||||||
case THERMOMETER:
|
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
|
OLED_DrawString("TEMP ", 5);//extra one to it clears the leftover 'L' from IDLE
|
||||||
drawTemp(temp, 5);
|
drawTemp(temp, 5);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user