summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-03-02 12:22:20 +0700
committerhathach <[email protected]>2022-03-02 12:22:20 +0700
commit918f3e9caec1e5566feac9214b7142b950a3d27c (patch)
treefbda8df2d0f56f01e6cc0eba7220b3bfc45a6ee1 /examples
parentd3ed76902eaf52a61f19d88c941045ea1fc5b808 (diff)
minor rename
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/tusb_config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h
index e957b2cde..80ee8cb01 100644
--- a/examples/host/cdc_msc_hid/src/tusb_config.h
+++ b/examples/host/cdc_msc_hid/src/tusb_config.h
@@ -39,13 +39,13 @@
#error CFG_TUSB_MCU must be defined
#endif
-#define CFG_TUH_RPI_PIO 1
+#define CFG_TUH_RPI_PIO_USB 1
//#define CFG_TUSB_RPI_PIO_INC_PATH 1
#if CFG_TUSB_MCU == OPT_MCU_LPC43XX || CFG_TUSB_MCU == OPT_MCU_LPC18XX || CFG_TUSB_MCU == OPT_MCU_MIMXRT10XX
#define CFG_TUSB_RHPORT0_MODE (OPT_MODE_HOST | OPT_MODE_HIGH_SPEED)
-#elif CFG_TUH_RPI_PIO
+#elif CFG_TUH_RPI_PIO_USB
// rp2040: port0 is native, port 1 for PIO-USB
#define CFG_TUSB_RHPORT1_MODE OPT_MODE_HOST
#else