changelog
- Mon, 09 Nov 2020 23:05:24 +0100
- by David Douard <david.douard@sdf3.org> [Mon, 09 Nov 2020 23:05:24 +0100] rev 49
- Refactor HPSerial to get rid of packet collision misbehavior
completely split the key sending code from the irq-based receiveing logic.
When sending keycodes, disable the RxIrq callback and handle send and recv
of bytes synchronously.
The keycode sending routine rus in a dedicated thread.