diff options
| author | hathach <[email protected]> | 2022-03-17 21:20:20 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-03-17 21:20:20 +0700 |
| commit | 9dd2f11f4a08c337096776eacd919faec3cc939e (patch) | |
| tree | 681d8988a514e5ac793e3bda8c5c6446be27ebcf /examples/host/bare_api/src | |
| parent | 55428d7dd215eb2e69a1f654ccc4730525b509d6 (diff) | |
add CFG_TUH_API_EDPT_XFER to enable generic edpt xfer
Diffstat (limited to 'examples/host/bare_api/src')
| -rw-r--r-- | examples/host/bare_api/src/tusb_config.h | 8 |
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 } |
