HID report transmission partially works now
partially i.e. if you attach the keyboard before the noise handshake. I suspect some memory corruption somewhere.
This commit is contained in:
parent
e4e2318804
commit
21be46a0b5
8 changed files with 92 additions and 45 deletions
|
|
@ -57,3 +57,9 @@ void usart2_isr(void) {
|
|||
} /* else just return and wait for next byte */
|
||||
}
|
||||
|
||||
void send_packet(struct dma_usart_file *f, const uint8_t *data, size_t len) {
|
||||
/* ignore return value as putf is blocking and always succeeds */
|
||||
(void)cobs_encode_incremental(f, putf, (char *)data, len);
|
||||
flush(f);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue