mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
follow up on detailed mode
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user