1
0
forked from me/IronOS

Update GUIThread.cpp

This commit is contained in:
Ben V. Brown
2022-02-05 13:11:15 +11:00
parent 471c4513bb
commit 0fcde2806d

View File

@@ -545,6 +545,7 @@ static void gui_solderingMode(uint8_t jumpToSleep) {
OLED::setCursor(-1, 0); OLED::setCursor(-1, 0);
} }
OLED::clearScreen(); OLED::clearScreen();
OLED::setCursor(0, 0);
// Draw in the screen details // Draw in the screen details
if (getSettingValue(SettingsOptions::DetailedSoldering)) { if (getSettingValue(SettingsOptions::DetailedSoldering)) {
gui_drawTipTemp(true, FontStyle::LARGE); gui_drawTipTemp(true, FontStyle::LARGE);
@@ -587,7 +588,6 @@ static void gui_solderingMode(uint8_t jumpToSleep) {
printVoltage(); printVoltage();
OLED::print(SymbolVolts, FontStyle::SMALL); OLED::print(SymbolVolts, FontStyle::SMALL);
} else { } else {
OLED::setCursor(0, 0);
// We switch the layout direction depending on the orientation of the oled // We switch the layout direction depending on the orientation of the oled
if (OLED::getRotation()) { if (OLED::getRotation()) {
// battery // battery