mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
SAMA5 EHCI: Fix case when interrupt endpoints enabled
This commit is contained in:
@@ -4182,7 +4182,7 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(CONFIG_SAMA5_EHCI_PREALLOCATE) || !defined(CONFIG_USBHOST_INT_DISABLE)
|
#if !defined(CONFIG_SAMA5_EHCI_PREALLOCATE) && !defined(CONFIG_USBHOST_INT_DISABLE)
|
||||||
/* Allocate the periodic framelist */
|
/* Allocate the periodic framelist */
|
||||||
|
|
||||||
g_framelist = (uint32_t *)
|
g_framelist = (uint32_t *)
|
||||||
|
|||||||
Reference in New Issue
Block a user