summaryrefslogtreecommitdiff
path: root/vusb/host.c
diff options
context:
space:
mode:
Diffstat (limited to 'vusb/host.c')
-rw-r--r--vusb/host.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vusb/host.c b/vusb/host.c
index 901537bcb..c49eb62ae 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);