Device driver/mouse: use correct endpoint type: INTERRUPT
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
This commit is contained in:
parent
1566e7012f
commit
eb80e43818
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue