PFW-571 send PRN:4 instead PRN:1 while changing filament

This commit is contained in:
NotaRobotexe 2019-05-28 18:22:34 +02:00
parent f070a10904
commit 3b2cbc68d8
2 changed files with 8 additions and 2 deletions

View File

@ -3146,6 +3146,10 @@ void gcode_M701()
{
printf_P(PSTR("gcode_M701 begin\n"));
if (farm_mode){
prusa_statistics(22);
}
if (mmu_enabled)
{
extr_adj(tmp_extruder);//loads current extruder

View File

@ -986,6 +986,8 @@ static void lcd_status_screen()
{
case 8:
prusa_statistics(21);
if(loading_flag)
prusa_statistics(22);
break;
case 5:
if (IS_SD_PRINTING)
@ -4145,7 +4147,7 @@ void prusa_statistics(int _message, uint8_t _fil_nr) {
SERIAL_ECHOLN("}");
status_number = 14;
}
else if (IS_SD_PRINTING)
else if (IS_SD_PRINTING || loading_flag)
{
SERIAL_ECHO("{");
prusa_stat_printerstatus(4);
@ -4183,7 +4185,7 @@ void prusa_statistics(int _message, uint8_t _fil_nr) {
status_number = 3;
farm_timer = 1;
if (IS_SD_PRINTING)
if (IS_SD_PRINTING || loading_flag)
{
farm_status = 4;
SERIAL_ECHO("{");