|
@@ -437,7 +437,7 @@ inline bool turn_on_heaters() {
|
437
|
437
|
SERIAL_EOL();
|
438
|
438
|
}
|
439
|
439
|
idle();
|
440
|
|
- MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
|
440
|
+ SERIAL_FLUSH(); // Prevent host M105 buffer overrun.
|
441
|
441
|
}
|
442
|
442
|
#if ENABLED(ULTRA_LCD)
|
443
|
443
|
}
|
|
@@ -460,7 +460,7 @@ inline bool turn_on_heaters() {
|
460
|
460
|
SERIAL_EOL();
|
461
|
461
|
}
|
462
|
462
|
idle();
|
463
|
|
- MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
|
463
|
+ SERIAL_FLUSH(); // Prevent host M105 buffer overrun.
|
464
|
464
|
}
|
465
|
465
|
|
466
|
466
|
#if ENABLED(ULTRA_LCD)
|
|
@@ -809,12 +809,12 @@ void GcodeSuite::G26() {
|
809
|
809
|
|
810
|
810
|
|
811
|
811
|
print_line_from_here_to_there(rx, ry, g26_layer_height, xe, ye, g26_layer_height);
|
812
|
|
- MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
|
812
|
+ SERIAL_FLUSH(); // Prevent host M105 buffer overrun.
|
813
|
813
|
}
|
814
|
814
|
if (look_for_lines_to_connect())
|
815
|
815
|
goto LEAVE;
|
816
|
816
|
}
|
817
|
|
- MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
|
|
817
|
+ SERIAL_FLUSH(); // Prevent host M105 buffer overrun.
|
818
|
818
|
} while (--g26_repeats && location.x_index >= 0 && location.y_index >= 0);
|
819
|
819
|
|
820
|
820
|
LEAVE:
|