Explorar o código

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.
Marek Bel %!s(int64=6) %!d(string=hai) anos
pai
achega
142bf28dc2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Firmware/mmu.cpp

+ 1 - 1
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