use ep buf to keep setup packet, work well with hid device

This commit is contained in:
hathach
2023-08-30 16:21:43 +07:00
parent 1ab488eb06
commit 41493426b3
2 changed files with 5 additions and 4 deletions

View File

@@ -37,7 +37,7 @@
#if CFG_TUSB_MCU == OPT_MCU_RP2040
// change to 1 if using pico-pio-usb as host controller for raspberry rp2040
#define CFG_TUH_RPI_PIO_USB 0
#define BOARD_TUH_RHPORT CFG_TUH_RPI_PIO_US
#define BOARD_TUH_RHPORT CFG_TUH_RPI_PIO_USB
//#elif CFG_TUSB_MCU == OPT_MCU_NRF5X
// // Use external USB controller (via SPI) MAX3421E (aka usb host shield)
// #define CFG_TUH_MAX3421 1