Explorar el 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 hace 6 años
padre
commit
142bf28dc2
Se han modificado 1 ficheros con 1 adiciones y 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