Просмотр исходного кода

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 6 лет назад
Родитель
Сommit
142bf28dc2
1 измененных файлов с 1 добавлено и 1 удалено
  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