mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
samdl/saml_usb.h: fix wrong EP offset calculation. From Janne Rosberg
This commit is contained in:
committed by
Gregory Nutt
parent
2fd0bf4748
commit
507408daa1
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user