From eb80e438189961ba61b0250490ec73a7e439dcc6 Mon Sep 17 00:00:00 2001 From: Amir Hammad Date: Wed, 26 Aug 2015 07:44:10 +0200 Subject: Device driver/mouse: use correct endpoint type: INTERRUPT Signed-off-by: Amir Hammad --- src/usbh_driver_hid_mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usbh_driver_hid_mouse.c b/src/usbh_driver_hid_mouse.c index 0a575f2..56278ef 100644 --- a/src/usbh_driver_hid_mouse.c +++ b/src/usbh_driver_hid_mouse.c @@ -218,7 +218,7 @@ static void read_mouse_in(void *drvdata) packet.datalen = mouse->endpoint_in_maxpacketsize; packet.endpoint_address = mouse->endpoint_in_address; packet.endpoint_size_max = mouse->endpoint_in_maxpacketsize; - packet.endpoint_type = USBH_EPTYP_BULK; + packet.endpoint_type = USBH_EPTYP_INTERRUPT; packet.speed = mouse->usbh_device->speed; packet.callback = event; packet.callback_arg = mouse->usbh_device; -- cgit