SAMA5 EHCI: Fix case when interrupt endpoints enabled

This commit is contained in:
Gregory Nutt 2013-11-29 16:42:44 -06:00
parent 706292f417
commit 2b3f691fef
1 changed files with 1 additions and 1 deletions

View File

@ -4182,7 +4182,7 @@ FAR struct usbhost_connection_s *sam_ehci_initialize(int controller)
}
#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 */
g_framelist = (uint32_t *)