summaryrefslogtreecommitdiff
path: root/examples/host/bare_api
diff options
context:
space:
mode:
Diffstat (limited to 'examples/host/bare_api')
-rw-r--r--examples/host/bare_api/src/tusb_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/host/bare_api/src/tusb_config.h b/examples/host/bare_api/src/tusb_config.h
index 234eca402..9b789290d 100644
--- a/examples/host/bare_api/src/tusb_config.h
+++ b/examples/host/bare_api/src/tusb_config.h
@@ -81,11 +81,11 @@
// 1 hub typically has 4 ports
#define CFG_TUH_DEVICE_MAX (CFG_TUH_HUB ? 4 : 1)
-#define CFG_TUH_ENDPOINT_MAX 8
+// Max endpoint per device
+#define CFG_TUH_ENDPOINT_MAX 8
-//------------- HID -------------//
-
-#define CFG_TUH_HID_EP_BUFSIZE 64
+// Enable tuh_edpt_xfer() API
+#define CFG_TUH_API_EDPT_XFER 1
#ifdef __cplusplus
}