1
0
forked from me/IronOS

cleaning up

This commit is contained in:
discip
2022-01-07 23:31:06 +01:00
committed by GitHub
parent 5e5f1b8d99
commit 21eba602c3

View File

@@ -553,9 +553,9 @@ static void gui_solderingMode(uint8_t jumpToSleep) {
#else #else
if (OLED::getRotation()) { if (OLED::getRotation()) {
#endif #endif
OLED::setCursor(50, 1); OLED::setCursor(50, 0);
} else { } else {
OLED::setCursor(-1, 1); OLED::setCursor(-1, 0);
} }
OLED::clearScreen(); OLED::clearScreen();
// Draw in the screen details // Draw in the screen details
@@ -951,9 +951,9 @@ void startGUITask(void const *argument) {
#else #else
if (OLED::getRotation()) { if (OLED::getRotation()) {
#endif #endif
OLED::setCursor(50, 1); OLED::setCursor(50, 0);
} else { } else {
OLED::setCursor(-1, 1); OLED::setCursor(-1, 0);
} }
if (getSettingValue(SettingsOptions::DetailedIDLE)) { if (getSettingValue(SettingsOptions::DetailedIDLE)) {
if (isTipDisconnected()) { if (isTipDisconnected()) {
@@ -972,9 +972,9 @@ void startGUITask(void const *argument) {
#else #else
if (OLED::getRotation()) { if (OLED::getRotation()) {
#endif #endif
OLED::setCursor(-1, 1); OLED::setCursor(-1, 0);
} else { } else {
OLED::setCursor(42, 1); OLED::setCursor(42, 0);
} }
uint32_t Vlt = getInputVoltageX10(getSettingValue(SettingsOptions::VoltageDiv), 0); uint32_t Vlt = getInputVoltageX10(getSettingValue(SettingsOptions::VoltageDiv), 0);
OLED::printNumber(Vlt / 10, 2, FontStyle::LARGE); OLED::printNumber(Vlt / 10, 2, FontStyle::LARGE);