summaryrefslogtreecommitdiff
path: root/src/portable/ohci
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-04 22:31:48 +0700
committerhathach <[email protected]>2022-03-04 22:31:48 +0700
commit56c2d4b666856dedd9ced301d8a273c55ee2afd6 (patch)
treedcc1d7c7da86ee32ae889e381e6b531ed4256030 /src/portable/ohci
parentb9a6cd8b6163e79d42ba3b56515579f6c1d5f3b2 (diff)
fix naming, and build
Diffstat (limited to 'src/portable/ohci')
-rw-r--r--src/portable/ohci/ohci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/ohci/ohci.h b/src/portable/ohci/ohci.h
index d45555ded..9fc954c8f 100644
--- a/src/portable/ohci/ohci.h
+++ b/src/portable/ohci/ohci.h
@@ -165,7 +165,7 @@ typedef struct TU_ATTR_ALIGNED(256)
}control[CFG_TUH_DEVICE_MAX+CFG_TUH_HUB+1];
// ochi_itd_t itd[OHCI_MAX_ITD]; // itd requires alignment of 32
- ohci_ed_t ed_pool[CFG_TUH_ENDPOINT_MAX];
+ ohci_ed_t ed_pool[ED_MAX];
ohci_gtd_t gtd_pool[GTD_MAX];
volatile uint16_t frame_number_hi;