summaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorCédric Berger <[email protected]>2025-06-09 16:56:02 +0200
committerCédric Berger <[email protected]>2025-06-09 16:56:02 +0200
commitd533650105c3d41e77a063869175cc56f5ef0461 (patch)
tree733f4d6562038ae73b31798eae28de9175b9663d /src/host
parentd61077cbad2bdcc3899784d1e91b7c7adf04774d (diff)
Fix TUH_EPSIZE_BULK_MPS macro
TUH_EPSIZE_BULK_MPS should be set based on TUH_OPT_HIGH_SPEED, not TUD_OPT_HIGH_SPEED
Diffstat (limited to 'src/host')
-rw-r--r--src/host/usbh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/usbh.h b/src/host/usbh.h
index 6f34d8bb3..13eede869 100644
--- a/src/host/usbh.h
+++ b/src/host/usbh.h
@@ -42,7 +42,7 @@
//--------------------------------------------------------------------+
// Endpoint Bulk size depending on host mx speed
-#define TUH_EPSIZE_BULK_MPS (TUD_OPT_HIGH_SPEED ? TUSB_EPSIZE_BULK_HS : TUSB_EPSIZE_BULK_FS)
+#define TUH_EPSIZE_BULK_MPS (TUH_OPT_HIGH_SPEED ? TUSB_EPSIZE_BULK_HS : TUSB_EPSIZE_BULK_FS)
// forward declaration
struct tuh_xfer_s;