summaryrefslogtreecommitdiff
path: root/ps2_vusb/host_vusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'ps2_vusb/host_vusb.c')
-rw-r--r--ps2_vusb/host_vusb.c14
1 files changed, 0 insertions, 14 deletions
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;
- */
}
}