follow up on detailed mode

This commit is contained in:
discip
2022-01-07 22:32:46 +01:00
committed by GitHub
parent 6bfe915614
commit a23ac27fba

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, 0); OLED::setCursor(50, 1);
} else { } else {
OLED::setCursor(-1, 0); OLED::setCursor(-1, 1);
} }
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, 0); OLED::setCursor(50, 1);
} else { } else {
OLED::setCursor(-1, 0); OLED::setCursor(-1, 1);
} }
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, 0); OLED::setCursor(-1, 1);
} else { } else {
OLED::setCursor(42, 0); OLED::setCursor(42, 1);
} }
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);