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.
This commit is contained in:
Marek Bel 2018-08-23 21:15:12 +02:00
parent 3477f84143
commit 142bf28dc2

View File

@ -480,7 +480,7 @@ void extr_adj(int extruder) //loading filament for SNMM
{ {
#ifndef SNMM #ifndef SNMM
printf_P(PSTR("L%d \n"),extruder); 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 //show which filament is currently loaded