samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg

This commit is contained in:
Janne Rosberg
2015-07-10 15:21:37 -06:00
committed by Gregory Nutt
parent b32d747212
commit 02979feb7b
+1 -1
View File
@@ -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 */