From c077361a8a9fc9182b988dee7224043022eea841 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 4 Nov 2021 04:47:28 -0700 Subject: [PATCH] imxrt:usb Fix EP type allocation --- arch/arm/src/imxrt/imxrt_usbdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/imxrt/imxrt_usbdev.c b/arch/arm/src/imxrt/imxrt_usbdev.c index 5f0709bdde..7447211f81 100644 --- a/arch/arm/src/imxrt/imxrt_usbdev.c +++ b/arch/arm/src/imxrt/imxrt_usbdev.c @@ -292,9 +292,9 @@ struct imxrt_dqh_s #define IMXRT_EPOUTSET (0x5555) /* Even phy endpoint numbers are OUT EPs */ #define IMXRT_EPINSET (0xaaaa) /* Odd endpoint numbers are IN EPs */ #define IMXRT_EPCTRLSET (0x0003) /* EP0 IN/OUT are control endpoints */ -#define IMXRT_EPINTRSET (0xfffc) /* Interrupt endpoints */ -#define IMXRT_EPBULKSET (0xfffc) /* Bulk endpoints */ -#define IMXRT_EPISOCSET (0xfffc) /* Isochronous endpoints */ +#define IMXRT_EPINTRSET (0x000c) /* Interrupt endpoints */ +#define IMXRT_EPBULKSET (0x0ff0) /* Bulk endpoints */ +#define IMXRT_EPISOCSET (0xf000) /* Isochronous endpoints */ /* Maximum packet sizes for endpoints */