mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
simplification
This commit is contained in:
@@ -133,13 +133,12 @@ void gui_solderingMode(uint8_t jumpToSleep) {
|
|||||||
if (x10Watt > 999) { // If we exceed 99.9W we drop the decimal place to keep it all fitting
|
if (x10Watt > 999) { // If we exceed 99.9W we drop the decimal place to keep it all fitting
|
||||||
OLED::print(SmallSymbolSpace, FontStyle::SMALL);
|
OLED::print(SmallSymbolSpace, FontStyle::SMALL);
|
||||||
OLED::printNumber(x10WattHistory.average() / 10, 3, FontStyle::SMALL);
|
OLED::printNumber(x10WattHistory.average() / 10, 3, FontStyle::SMALL);
|
||||||
OLED::print(SmallSymbolWatts, FontStyle::SMALL);
|
|
||||||
} else {
|
} else {
|
||||||
OLED::printNumber(x10WattHistory.average() / 10, 2, FontStyle::SMALL);
|
OLED::printNumber(x10WattHistory.average() / 10, 2, FontStyle::SMALL);
|
||||||
OLED::print(SmallSymbolDot, FontStyle::SMALL);
|
OLED::print(SmallSymbolDot, FontStyle::SMALL);
|
||||||
OLED::printNumber(x10WattHistory.average() % 10, 1, FontStyle::SMALL);
|
OLED::printNumber(x10WattHistory.average() % 10, 1, FontStyle::SMALL);
|
||||||
OLED::print(SmallSymbolWatts, FontStyle::SMALL);
|
|
||||||
}
|
}
|
||||||
|
OLED::print(SmallSymbolWatts, FontStyle::SMALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (OLED::getRotation()) {
|
if (OLED::getRotation()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user