flush comment to match 1.1.x

This commit is contained in:
Scott Lahteine
2018-02-14 02:55:57 -06:00
parent 272f132b82
commit 8d71ad37cb
2 changed files with 7 additions and 22 deletions

View File

@ -437,8 +437,7 @@ inline bool turn_on_heaters() {
SERIAL_EOL();
}
idle();
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace may
// overwhelm the serial buffer with M105's without this fix.
MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
}
#if ENABLED(ULTRA_LCD)
}
@ -461,10 +460,7 @@ inline bool turn_on_heaters() {
SERIAL_EOL();
}
idle();
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
// over run the serial character buffer with M105's without
// this fix
MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
}
#if ENABLED(ULTRA_LCD)
@ -824,16 +820,12 @@ void GcodeSuite::G26() {
//}
print_line_from_here_to_there(rx, ry, g26_layer_height, xe, ye, g26_layer_height);
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
// over run the serial character buffer with M105's without
// this fix
MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
}
if (look_for_lines_to_connect())
goto LEAVE;
}
MYSERIAL0.flush(); // G26 takes a long time to complete. PronterFace can
// over run the serial character buffer with M105's without
// this fix
MYSERIAL0.flush(); // Prevent host M105 buffer overrun.
} while (--g26_repeats && location.x_index >= 0 && location.y_index >= 0);
LEAVE: