diff options
| author | hathach <[email protected]> | 2021-08-23 11:01:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-08-23 11:01:40 +0700 |
| commit | 6a16f6ccddf77e1b0232aec0c89d2105e391b297 (patch) | |
| tree | bca6923d530ac38e2546613515cdc524ee05b65d /examples | |
| parent | 800f85329ea21bdefc778c246c8098dea12fb402 (diff) | |
rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAX
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/host/cdc_msc_hid/src/msc_app.c | 2 | ||||
| -rw-r--r-- | examples/host/cdc_msc_hid/src/tusb_config.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/msc_app.c b/examples/host/cdc_msc_hid/src/msc_app.c index 3657a3d35..77a72052d 100644 --- a/examples/host/cdc_msc_hid/src/msc_app.c +++ b/examples/host/cdc_msc_hid/src/msc_app.c @@ -92,7 +92,7 @@ void tuh_msc_umount_cb(uint8_t dev_addr) // // if ( phy_disk == f_get_current_drive() ) // { // active drive is unplugged --> change to other drive -// for(uint8_t i=0; i<CFG_TUSB_HOST_DEVICE_MAX; i++) +// for(uint8_t i=0; i<CFG_TUH_DEVICE_MAX; i++) // { // if ( disk_is_ready(i) ) // { diff --git a/examples/host/cdc_msc_hid/src/tusb_config.h b/examples/host/cdc_msc_hid/src/tusb_config.h index 80f07f446..e2eb566bd 100644 --- a/examples/host/cdc_msc_hid/src/tusb_config.h +++ b/examples/host/cdc_msc_hid/src/tusb_config.h @@ -80,7 +80,7 @@ #define CFG_TUH_MSC 1 #define CFG_TUH_VENDOR 0 -#define CFG_TUSB_HOST_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports +#define CFG_TUH_DEVICE_MAX (CFG_TUH_HUB ? 5 : 1) // normal hub has 4 ports //------------- HID -------------// #define CFG_TUH_HID_EPIN_BUFSIZE 64 |
