MYSERIAL => MYSERIAL0

For cleaner diffing with Marlin 2.0.x.
This commit is contained in:
Scott Lahteine
2018-02-14 02:53:55 -06:00
parent d89a61bd51
commit c93dab2307
10 changed files with 50 additions and 65 deletions

View File

@@ -274,8 +274,7 @@
// action to give the user a more responsive 'Stop'.
set_destination_from_current();
idle();
MYSERIAL.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.
}
wait_for_release();
@@ -502,9 +501,7 @@
SERIAL_EOL();
}
idle();
MYSERIAL.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)
}
@@ -528,9 +525,7 @@
}
idle();
MYSERIAL.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)
lcd_reset_status();
@@ -828,16 +823,12 @@
//}
print_line_from_here_to_there(rx, ry, g26_layer_height, xe, ye, g26_layer_height);
MYSERIAL.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;
}
MYSERIAL.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: