Skip to content
Snippets Groups Projects
Commit ade76e53 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Fix A10M/A20M mixer display

parent cc4d3a21
Branches
Tags
No related merge requests found
......@@ -122,12 +122,10 @@ static uint8_t v_index;
#if DUAL_MIXING_EXTRUDER
void _lcd_draw_mix(const uint8_t y) {
char tmp[10]; // "100%_100%"
SETCURSOR(2, y);
lcd_put_u8str_P(GET_TEXT(MSG_MIX));
SETCURSOR(LCD_WIDTH - 9, y);
char tmp[20]; // "100%_100%"
sprintf_P(tmp, PSTR("%3d%% %3d%%"), int(mixer.mix[0]), int(mixer.mix[1]));
lcd_put_u8str(tmp);
SETCURSOR(2, y); lcd_put_u8str_P(GET_TEXT(MSG_MIX));
SETCURSOR_RJ(9, y); lcd_put_u8str(tmp);
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment