diff options
| author | Ha Thach <[email protected]> | 2022-11-21 17:22:52 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-21 17:22:52 +0700 |
| commit | 4a2e424103b0a2626a6cb464a350c68ae109cc7e (patch) | |
| tree | 4a46f70fc34bc477b5c742b6f5a103322b7753f1 /src | |
| parent | 95fb11fcffd27a055561d2171aa99199982bb563 (diff) | |
| parent | a394273ed28bdbd9ed5cf4ba94a99204bdd841e9 (diff) | |
Merge pull request #1746 from hathach/host-msc-example
Add host msc explorer example
Diffstat (limited to 'src')
| -rw-r--r-- | src/class/msc/msc_host.h | 2 | ||||
| -rw-r--r-- | src/host/usbh.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/class/msc/msc_host.h b/src/class/msc/msc_host.h index 7718ad4fe..8d95980f9 100644 --- a/src/class/msc/msc_host.h +++ b/src/class/msc/msc_host.h @@ -82,7 +82,7 @@ bool tuh_msc_request_sense(uint8_t dev_addr, uint8_t lun, void *resposne, tuh_ms // Perform SCSI Read 10 command. Read n blocks starting from LBA to buffer // Complete callback is invoked when SCSI op is complete. -bool tuh_msc_read10(uint8_t dev_addr, uint8_t lun, void * buffer, uint32_t lba, uint16_t block_count, tuh_msc_complete_cb_t complete_cb); +bool tuh_msc_read10(uint8_t dev_addr, uint8_t lun, void * buffer, uint32_t lba, uint16_t block_count, tuh_msc_complete_cb_t complete_cb); // Perform SCSI Write 10 command. Write n blocks starting from LBA to device // Complete callback is invoked when SCSI op is complete. diff --git a/src/host/usbh.h b/src/host/usbh.h index 560a1ea23..1a26a69b4 100644 --- a/src/host/usbh.h +++ b/src/host/usbh.h @@ -71,7 +71,7 @@ struct tuh_xfer_s // ConfigID for tuh_config() enum { - TUH_CFGID_RPI_PIO_USB_CONFIGURATION = OPT_MCU_RP2040 // cfg_param: pio_usb_configuration_t + TUH_CFGID_RPI_PIO_USB_CONFIGURATION = OPT_MCU_RP2040 << 8 // cfg_param: pio_usb_configuration_t }; //--------------------------------------------------------------------+ |
