summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-04-22 11:00:43 +0700
committerhathach <[email protected]>2013-04-22 11:00:43 +0700
commitc20071c55c5ebc077cccb9380e9e2eaec45a7852 (patch)
treee70846de2e072d51f78d289e5bdfe1b7774d551e /tinyusb/host
parent3f9a73a34d2809007a0d6f5396a54ce7189271c2 (diff)
fix compiler error for USB1 to none in ehci.c
rename and moving bsp ea4357
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/ehci/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c
index 42752c4e2..a91f62ef8 100644
--- a/tinyusb/host/ehci/ehci.c
+++ b/tinyusb/host/ehci/ehci.c
@@ -678,7 +678,7 @@ STATIC_ INLINE_ ehci_link_t* get_period_frame_list(uint8_t hostid)
return period_frame_list0;
#endif
-#if (TUSB_CFG_CONTROLLER0_MODE & TUSB_MODE_HOST)
+#if (TUSB_CFG_CONTROLLER1_MODE & TUSB_MODE_HOST)
case 1:
return period_frame_list1;
#endif