summaryrefslogtreecommitdiff
path: root/tinyusb
diff options
context:
space:
mode:
Diffstat (limited to 'tinyusb')
-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