Many newlines cause TX buffer overflow #5
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Many successive newlines in the buffer are processed "instantly," each leading to a Status TX, which is processed "whenever," which in turn quickly leads to a TX buffer overflow (Hardfault reason 2).
Fix: Change
tx_buffer_process()
so that, instead of only TXing one character, it ensures that there's at least enough space in the buffer left for ~3 telegrams or so.