Adding XON/XOFF and STATISTICS implementation

This commit is contained in:
etagle 2017-08-08 02:46:37 -03:00
parent 3e5485de92
commit 534bbb81ff
4 changed files with 239 additions and 23 deletions

View file

@ -13329,6 +13329,12 @@ void loop() {
// M29 closes the file
card.closefile();
SERIAL_PROTOCOLLNPGM(MSG_FILE_SAVED);
#if ENABLED(SERIAL_STATS_DROPPED_RX)
SERIAL_ECHOLNPAIR("Dropped bytes: ", MarlinSerial::dropped());
#endif
#if ENABLED(SERIAL_STATS_MAX_RX_QUEUED)
SERIAL_ECHOLNPAIR("Max RX Queue Size: ", MarlinSerial::rxMaxEnqueued());
#endif
ok_to_send();
}
else {