summaryrefslogtreecommitdiff
path: root/vusb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-05-16 00:08:06 +0900
committertmk <nobody@nowhere>2011-05-16 00:14:06 +0900
commit068c31a7ba9fc6aea33f69c0edb30ad195c320ec (patch)
tree776681e8d84d803d058d0657706c5a24f2c22976 /vusb
parent61e12a3157ea6860f23bf8e29372aa70aeb02be0 (diff)
added initial V-USB support for HHKB
Diffstat (limited to 'vusb')
-rw-r--r--vusb/host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vusb/host.c b/vusb/host.c
index 901537bcb8..c49eb62ae0 100644
--- a/vusb/host.c
+++ b/vusb/host.c
@@ -163,8 +163,8 @@ usbRequest_t *rq = (void *)data;
if(rq->bRequest == USBRQ_HID_GET_REPORT){
debug(" GET_REPORT");
/* we only have one report type, so don't look at wValue */
- usbMsgPtr = (void *)keyboard_report;
- return sizeof(*keyboard_report);
+ usbMsgPtr = (void *)keyboard_report_prev;
+ return sizeof(*keyboard_report_prev);
}else if(rq->bRequest == USBRQ_HID_GET_IDLE){
debug(" GET_IDLE: ");
debug_hex(idleRate);