Change layer pram and keymap of HHKB. Fix vusb/host.c.
This commit is contained in:
parent
1bda8a8c69
commit
f382fc93d5
3 changed files with 10 additions and 2 deletions
|
|
@ -115,7 +115,7 @@ static uint8_t kbuf_tail = 0;
|
|||
|
||||
void host_vusb_keyboard_send(void)
|
||||
{
|
||||
while (usbInterruptIsReady() && kbuf_head != kbuf_tail) {
|
||||
if (usbInterruptIsReady() && kbuf_head != kbuf_tail) {
|
||||
usbSetInterrupt((void *)&kbuf[kbuf_tail], sizeof(report_keyboard_t));
|
||||
kbuf_tail = (kbuf_tail + 1) % KBUF_SIZE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue