From c20071c55c5ebc077cccb9380e9e2eaec45a7852 Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 22 Apr 2013 11:00:43 +0700 Subject: fix compiler error for USB1 to none in ehci.c rename and moving bsp ea4357 --- tinyusb/host/ehci/ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tinyusb/host') 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 -- cgit v1.3.1