summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-08-30 16:21:43 +0700
committerhathach <[email protected]>2023-08-30 16:21:43 +0700
commit41493426b38c8ce44b1f7720b907538bc5402f98 (patch)
treee25d55d1cd9d9c8101969edca0b4012e8d5bc790 /examples
parent1ab488eb06ef4cb8ad9c0cff91e6b0caf76f73c4 (diff)
use ep buf to keep setup packet, work well with hid device
Diffstat (limited to 'examples')
-rw-r--r--examples/host/msc_file_explorer/src/tusb_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/host/msc_file_explorer/src/tusb_config.h b/examples/host/msc_file_explorer/src/tusb_config.h
index 28e130c0e..e6186ba46 100644
--- a/examples/host/msc_file_explorer/src/tusb_config.h
+++ b/examples/host/msc_file_explorer/src/tusb_config.h
@@ -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