MMU - display status while switching active extruder [PFW-465]

This commit is contained in:
Robert Pelnar 2018-08-22 16:38:34 +02:00
parent 7836742621
commit dfb4bfac5b

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);
}