Merge pull request #1055 from XPila/MK3

MMU - communication fix + active extruder status
This commit is contained in:
PavelSindler 2018-08-22 16:48:09 +02:00 committed by GitHub
commit 3477f84143
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -528,7 +528,11 @@ void lcdui_print_percent_done(void)
// Print extruder status (5 chars total)
void lcdui_print_extruder(void)
{
int chars = lcd_printf_P(_N(" T%u"), mmu_extruder);
int chars = 0;
if (mmu_extruder == tmp_extruder)
chars = lcd_printf_P(_N(" T%u"), mmu_extruder);
else
chars = lcd_printf_P(_N(" %u>%u"), mmu_extruder, tmp_extruder);
lcd_space(5 - chars);
}