Quellcode durchsuchen

Fix A10M/A20M mixer display

Co-Authored-By: 3Dangel <3dangel@users.noreply.github.com>
Scott Lahteine vor 5 Jahren
Ursprung
Commit
ade76e53de
1 geänderte Dateien mit 3 neuen und 5 gelöschten Zeilen
  1. 3
    5
      Marlin/src/lcd/menu/menu_mixer.cpp

+ 3
- 5
Marlin/src/lcd/menu/menu_mixer.cpp Datei anzeigen

@@ -122,12 +122,10 @@ static uint8_t v_index;
122 122
 
123 123
 #if DUAL_MIXING_EXTRUDER
124 124
   void _lcd_draw_mix(const uint8_t y) {
125
-    char tmp[10]; // "100%_100%"
126
-    SETCURSOR(2, y);
127
-    lcd_put_u8str_P(GET_TEXT(MSG_MIX));
128
-    SETCURSOR(LCD_WIDTH - 9, y);
125
+    char tmp[20]; // "100%_100%"
129 126
     sprintf_P(tmp, PSTR("%3d%% %3d%%"), int(mixer.mix[0]), int(mixer.mix[1]));
130
-    lcd_put_u8str(tmp);
127
+    SETCURSOR(2, y); lcd_put_u8str_P(GET_TEXT(MSG_MIX));
128
+    SETCURSOR_RJ(9, y); lcd_put_u8str(tmp);
131 129
   }
132 130
 #endif
133 131
 

Laden…
Abbrechen
Speichern