From 78367426212c2a5d90f0faf30bd2fecb0fbb2743 Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Wed, 22 Aug 2018 16:19:57 +0200 Subject: [PATCH 1/2] MMU communication fix - WD reset inside manage_response --- Firmware/mmu.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Firmware/mmu.cpp b/Firmware/mmu.cpp index 843f415c..57da1e80 100644 --- a/Firmware/mmu.cpp +++ b/Firmware/mmu.cpp @@ -321,6 +321,7 @@ void manage_response(bool move_axes, bool turn_off_nozzle) } } lcd_display_message_fullscreen_P(_i("Check MMU. Fix the issue and then press button on MMU unit.")); + delay_keep_alive(1000); } else if (mmu_print_saved) { printf_P(PSTR("MMU start responding\n")); From dfb4bfac5b7b491f2d213b5eaea19c9ce4d6ff89 Mon Sep 17 00:00:00 2001 From: Robert Pelnar Date: Wed, 22 Aug 2018 16:38:34 +0200 Subject: [PATCH 2/2] MMU - display status while switching active extruder [PFW-465] --- Firmware/ultralcd.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 9988815e..ee81f5a6 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -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); }