Change layer pram and keymap of HHKB. Fix vusb/host.c.

This commit is contained in:
tmk
2011-07-02 14:27:14 +09:00
parent 1bda8a8c69
commit f382fc93d5
3 changed files with 10 additions and 2 deletions

View File

@@ -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;
}