|
@@ -437,8 +437,7 @@ inline bool turn_on_heaters() {
|
437
|
437
|
SERIAL_EOL();
|
438
|
438
|
}
|
439
|
439
|
idle();
|
440
|
|
- MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace may
|
441
|
|
- // overwhelm the serial buffer with M105's without this fix.
|
|
440
|
+ MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
442
|
441
|
}
|
443
|
442
|
#if ENABLED(ULTRA_LCD)
|
444
|
443
|
}
|
|
@@ -461,10 +460,7 @@ inline bool turn_on_heaters() {
|
461
|
460
|
SERIAL_EOL();
|
462
|
461
|
}
|
463
|
462
|
idle();
|
464
|
|
-
|
465
|
|
- MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
|
466
|
|
- // over run the serial character buffer with M105's without
|
467
|
|
- // this fix
|
|
463
|
+ MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
468
|
464
|
}
|
469
|
465
|
|
470
|
466
|
#if ENABLED(ULTRA_LCD)
|
|
@@ -824,16 +820,12 @@ void GcodeSuite::G26() {
|
824
|
820
|
//}
|
825
|
821
|
|
826
|
822
|
print_line_from_here_to_there(rx, ry, g26_layer_height, xe, ye, g26_layer_height);
|
827
|
|
- MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
|
828
|
|
- // over run the serial character buffer with M105's without
|
829
|
|
- // this fix
|
|
823
|
+ MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
830
|
824
|
}
|
831
|
825
|
if (look_for_lines_to_connect())
|
832
|
826
|
goto LEAVE;
|
833
|
827
|
}
|
834
|
|
- MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
|
835
|
|
- // over run the serial character buffer with M105's without
|
836
|
|
- // this fix
|
|
828
|
+ MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
837
|
829
|
} while (--g26_repeats && location.x_index >= 0 && location.y_index >= 0);
|
838
|
830
|
|
839
|
831
|
LEAVE:
|