aboutsummaryrefslogtreecommitdiffhomepage
path: root/workspace/TS100/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'workspace/TS100/src/main.cpp')
-rw-r--r--workspace/TS100/src/main.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/workspace/TS100/src/main.cpp b/workspace/TS100/src/main.cpp
index d74bee50..5219b8fa 100644
--- a/workspace/TS100/src/main.cpp
+++ b/workspace/TS100/src/main.cpp
@@ -256,7 +256,7 @@ static void gui_drawBatteryIcon() {
cellV = 9;
lcd.drawBattery(cellV + 1);
} else
- lcd.drawSymbol(16); // Draw the DC Logo
+ lcd.drawSymbol(15); // Draw the DC Logo
}
static void gui_solderingTempAdjust() {
uint32_t lastChange = xTaskGetTickCount();
@@ -571,18 +571,10 @@ static void gui_solderingMode() {
lcd.drawChar(' ');
// Draw heating/cooling symbols
- // If tip PWM > 30% then we are 'heating'
- if (getTipPWM() > 30)
- lcd.drawSymbol(14);
- else
- lcd.drawSymbol(15);
+ lcd.drawHeatSymbol(getTipPWM());
} else {
// Draw heating/cooling symbols
- // If tip PWM > 10% then we are 'heating'
- if (getTipPWM() > 10)
- lcd.drawSymbol(14);
- else
- lcd.drawSymbol(15);
+ lcd.drawHeatSymbol(getTipPWM());
// We draw boost arrow if boosting, or else gap temp <-> heat indicator
if (boostModeOn)
lcd.drawSymbol(2);