Fixup drawing tip type

This commit is contained in:
Ben V. Brown
2024-09-22 17:58:18 +10:00
parent 3b6df3f765
commit fe2bd4fe7d
3 changed files with 7 additions and 7 deletions

View File

@@ -116,7 +116,7 @@
"displayText": "Safe\nMode"
},
"TipTypeAuto": {
"displayText": "Auto"
"displayText": "Auto\nSense"
},
"TipTypeT12Long": {
"displayText": "TS100\nLong"

View File

@@ -765,7 +765,7 @@ static void displayHallEffectSleepTime(void) {
#endif /* HALL_SENSOR */
static void displaySolderingTipType(void) {
// TODO wrapping X value
OLED::print(lookupTipName(), FontStyle::SMALL);
OLED::print(lookupTipName(), FontStyle::SMALL, 255, OLED::getCursorX());
}
// If there is no detection, and no options, max is 0
static bool showSolderingTipType(void) { return tipType_t::TIP_TYPE_MAX != 0; }