From 142bf28dc262ac933c12bdd875daeda004e8fd70 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Thu, 23 Aug 2018 21:15:12 +0200 Subject: [PATCH] Clear communication buffer when sending load filament command to MMU. This fixes PFW-517 in the moment, when the problem with not displaying "Loading filament 1" to "Loading filament 5" has appeared for the first time. --- Firmware/mmu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/mmu.cpp b/Firmware/mmu.cpp index 57da1e80..bf7645a8 100644 --- a/Firmware/mmu.cpp +++ b/Firmware/mmu.cpp @@ -480,7 +480,7 @@ void extr_adj(int extruder) //loading filament for SNMM { #ifndef SNMM printf_P(PSTR("L%d \n"),extruder); - fprintf_P(uart2io, PSTR("L%d\n"), extruder); + mmu_printf_P(PSTR("L%d\n"), extruder); //show which filament is currently loaded