diff options
author | Ben V. Brown <[email protected]> | 2022-02-06 15:56:57 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-02-06 15:56:57 +1100 |
commit | 78344279d357934451ffc74f0d7956b213f90adc (patch) | |
tree | 7d9d966da2bd704dc6e5a71a083938168cccfd83 /source | |
parent | fb297704b34123e3fcf9ca8953f87a98ad7f4f10 (diff) | |
parent | f715f77848c44f0ea1c62cece461f0c3bbbbf7d1 (diff) | |
download | IronOS-78344279d357934451ffc74f0d7956b213f90adc.tar.gz IronOS-78344279d357934451ffc74f0d7956b213f90adc.zip |
Merge branch 'master' into pinecil-mod-detect
Diffstat (limited to 'source')
-rw-r--r-- | source/Core/Threads/GUIThread.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/source/Core/Threads/GUIThread.cpp b/source/Core/Threads/GUIThread.cpp index 2e8c7803..c87aa443 100644 --- a/source/Core/Threads/GUIThread.cpp +++ b/source/Core/Threads/GUIThread.cpp @@ -539,15 +539,16 @@ static void gui_solderingMode(uint8_t jumpToSleep) { } } // else we update the screen information - if (OLED::getRotation()) { - OLED::setCursor(50, 0); - } else { - OLED::setCursor(-1, 0); - } + OLED::clearScreen(); - OLED::setCursor(0, 0); + // Draw in the screen details if (getSettingValue(SettingsOptions::DetailedSoldering)) { + if (OLED::getRotation()) { + OLED::setCursor(50, 0); + } else { + OLED::setCursor(-1, 0); + } gui_drawTipTemp(true, FontStyle::LARGE); #ifndef NO_SLEEP_MODE @@ -588,6 +589,7 @@ static void gui_solderingMode(uint8_t jumpToSleep) { printVoltage(); OLED::print(SymbolVolts, FontStyle::SMALL); } else { + OLED::setCursor(0, 0); // We switch the layout direction depending on the orientation of the oled if (OLED::getRotation()) { // battery |