summary refs log tree commit diff
path: root/protocol
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-10-09 16:50:14 +0900
committertmk <nobody@nowhere>2012-10-17 15:55:37 +0900
commit71ac82337f803e8ec0c081b3221ac0ccf61035b0 (patch)
tree5692c88c0b16d7f4992321c19a82f5193ebe4dc2 /protocol
parent373ab0e7192811944786c095facb80938c33f1d5 (diff)
Clean host.h interface.
Diffstat (limited to 'protocol')
-rw-r--r--protocol/vusb/vusb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocol/vusb/vusb.c b/protocol/vusb/vusb.c
index 4e11836e16..59834e6918 100644
--- a/protocol/vusb/vusb.c
+++ b/protocol/vusb/vusb.c
@@ -164,8 +164,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_prev;
-            return sizeof(*keyboard_report_prev);
+            usbMsgPtr = (void *)keyboard_report;
+            return sizeof(*keyboard_report);
         }else if(rq->bRequest == USBRQ_HID_GET_IDLE){
             debug("GET_IDLE: ");
             //debug_hex(vusb_idle_rate);