From 02979feb7bcd21718f9c978d1e36ccf43cf1730f Mon Sep 17 00:00:00 2001 From: Janne Rosberg Date: Fri, 10 Jul 2015 15:21:37 -0600 Subject: [PATCH] samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg --- arch/arm/src/samdl/chip/saml_usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/samdl/chip/saml_usb.h b/arch/arm/src/samdl/chip/saml_usb.h index e295d823da..12d0821845 100644 --- a/arch/arm/src/samdl/chip/saml_usb.h +++ b/arch/arm/src/samdl/chip/saml_usb.h @@ -77,7 +77,7 @@ /* Endpoint Register n offset */ -#define SAM_USBDEV_EP_OFFSET(n) (0x0100 + ((n) << 4)) +#define SAM_USBDEV_EP_OFFSET(n) (0x0100 + ((n) << 5)) /* The following are then relative to the endpoint register n offset */