Fix multi-serial CRC error crash (#21249)

This commit is contained in:
Victor Oliveira
2021-03-04 20:39:08 -03:00
committed by GitHub
parent a0d312396a
commit 101f09aabd
3 changed files with 4 additions and 5 deletions

View File

@@ -185,7 +185,7 @@ public:
* Clear the serial line and request a resend of
* the next expected line number.
*/
static void flush_and_request_resend();
static void flush_and_request_resend(const serial_index_t serial_ind);
/**
* (Re)Set the current line number for the last received command