summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2015-08-26 07:53:00 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2015-08-26 07:53:00 +0200
commit631a614c81820455a3dbf8f4bb689887ba768823 (patch)
treee0b0976217fffe02fe929a007591fd27e0fa8c6d /src
parent4abcb07a755af940909bf615fedeb175ba7f6223 (diff)
downloadsecure-hid-631a614c81820455a3dbf8f4bb689887ba768823.tar.gz
secure-hid-631a614c81820455a3dbf8f4bb689887ba768823.tar.bz2
secure-hid-631a614c81820455a3dbf8f4bb689887ba768823.zip
Device driver/gp_xbox:Use correct endpoint type:INTERRUPT
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/usbh_driver_gp_xbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usbh_driver_gp_xbox.c b/src/usbh_driver_gp_xbox.c
index 1b1d895..ae478ad 100644
--- a/src/usbh_driver_gp_xbox.c
+++ b/src/usbh_driver_gp_xbox.c
@@ -330,7 +330,7 @@ static void read_gp_xbox_in(gp_xbox_device_t *gp_xbox)
packet.datalen = gp_xbox->endpoint_in_maxpacketsize;
packet.endpoint_address = gp_xbox->endpoint_in_address;
packet.endpoint_size_max = gp_xbox->endpoint_in_maxpacketsize;
- packet.endpoint_type = USBH_EPTYP_BULK;
+ packet.endpoint_type = USBH_EPTYP_INTERRUPT;
packet.speed = gp_xbox->usbh_device->speed;
packet.callback = event;
packet.callback_arg = gp_xbox->usbh_device;