From acc974c64b1e17e6807133fdc50de5bb34aedda5 Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 9 Feb 2011 00:03:58 +0900 Subject: added protocol stack: pjrc, vusb --- ps2_vusb/host_vusb.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'ps2_vusb/host_vusb.c') diff --git a/ps2_vusb/host_vusb.c b/ps2_vusb/host_vusb.c index 060d23c18..8c527b3c6 100644 --- a/ps2_vusb/host_vusb.c +++ b/ps2_vusb/host_vusb.c @@ -18,14 +18,6 @@ void host_vusb_keyboard_send() usbSetInterrupt((void *)&kbuf[kbuf_tail], sizeof(report_keyboard_t)); kbuf_tail = (kbuf_tail + 1) % KBUF_SIZE; } -/* - if (kbuf_head != kbuf_tail) { - if (usbInterruptIsReady()) { - usbSetInterrupt((void *)&kbuf[kbuf_tail], sizeof(report_keyboard_t)); - kbuf_tail = (kbuf_tail + 1) % KBUF_SIZE; - } - } -*/ } void host_keyboard_send(report_keyboard_t *report) @@ -37,12 +29,6 @@ void host_keyboard_send(report_keyboard_t *report) print("kbuf: "); phex(kbuf_head); phex(kbuf_tail); print("\n"); } else { print("kbuf: full\n"); - // hmm... - /* - matrix_init(); - kbuf_head = 0; - kbuf_tail = 0; - */ } } -- cgit v1.2.3