diff options
| author | hathach <[email protected]> | 2024-04-02 12:36:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-04-02 12:36:00 +0700 |
| commit | bd2210b812cca0f56fc54ab9ebe3e48482baa653 (patch) | |
| tree | 139d36f8a073978eeafa495798c1438364ea0c91 /examples/host/hid_controller | |
| parent | 14ce05fea374c1a372d8e531ad3c96b243899e1b (diff) | |
always limit number of NAK per endpoint per usb frame to save cpu usage. Default to 1 NAK per endpoint
Diffstat (limited to 'examples/host/hid_controller')
| -rw-r--r-- | examples/host/hid_controller/src/tusb_config.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/host/hid_controller/src/tusb_config.h b/examples/host/hid_controller/src/tusb_config.h index f087a93cf..3ac591d8f 100644 --- a/examples/host/hid_controller/src/tusb_config.h +++ b/examples/host/hid_controller/src/tusb_config.h @@ -72,7 +72,6 @@ #if CFG_TUSB_MCU == OPT_MCU_RP2040 // #define CFG_TUH_RPI_PIO_USB 1 // use pio-usb as host controller // #define CFG_TUH_MAX3421 1 // use max3421 as host controller - // #define CFG_TUH_MAX3421_MAX_ATTEMPTS_PER_FRAME 3 // max. transfer attempts per frame // host roothub port is 1 if using either pio-usb or max3421 #if (defined(CFG_TUH_RPI_PIO_USB) && CFG_TUH_RPI_PIO_USB) || (defined(CFG_TUH_MAX3421) && CFG_TUH_MAX3421) |
