lexus2k / tinyproto

Tiny Software Protocol for communication over UART, SPI, etc
GNU General Public License v3.0
225 stars 51 forks source link

fix(tiny_fd): set FD_EVENT_QUEUE_HAS_FREE_SLOTS on re-connection #37

Closed chenlijun99 closed 2 years ago

chenlijun99 commented 2 years ago

If, before disconnection, the TX buffer was filled, not setting FD_EVENT_QUEUE_HAS_FREE_SLOTS on-reconnection means that no more TX frames can be enqueued.