From f382fc93d5cbee8209069d5da590177b8dbd4a02 Mon Sep 17 00:00:00 2001 From: tmk Date: Sat, 2 Jul 2011 14:27:14 +0900 Subject: Change layer pram and keymap of HHKB. Fix vusb/host.c. --- vusb/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vusb/host.c') diff --git a/vusb/host.c b/vusb/host.c index 0a507d482..590d2363b 100644 --- a/vusb/host.c +++ b/vusb/host.c @@ -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; } -- cgit v1.2.3