소스 검색

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 년 전
부모
커밋
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