Skip to content
Snippets Groups Projects
Commit ac3f7512 authored by Mike Smith's avatar Mike Smith
Browse files

Fix issue #423 - FastSerial flush bug.

parent a8070d86
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ void FastSerial::flush(void)
// don't reverse this or there may be problems if the TX interrupt
// occurs after reading the value of _txBuffer->tail but before writing
// the value to _txBuffer->head.
_txBuffer->tail = _rxBuffer->head;
_txBuffer->tail = _txBuffer->head;
}
void FastSerial::write(uint8_t c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment