samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg
This commit is contained in:
parent
b32d747212
commit
02979feb7b
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user