mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 00:51:25 +02:00
HID uses complete_cb to send the next packet and not the value returned by tud_write. Therefore, no other writes can happen in between of a writing packet if fails. This ensures a proper interface multiplexing and continuous flow. Also, the read pointer is used to multiplex usb packets. Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>