mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/usb_msc_example' into 'master'
Bugfix: omit MSC reset during initialization See merge request espressif/esp-idf!16916
This commit is contained in:
commit
5a2b3459c9
@ -363,7 +363,6 @@ esp_err_t msc_host_install_device(uint8_t device_address, msc_host_device_handle
|
|||||||
msc_device->handle,
|
msc_device->handle,
|
||||||
msc_device->config.iface_num, 0) );
|
msc_device->config.iface_num, 0) );
|
||||||
|
|
||||||
MSC_GOTO_ON_ERROR( msc_mass_reset(msc_device) );
|
|
||||||
MSC_GOTO_ON_ERROR( msc_get_max_lun(msc_device, &lun) );
|
MSC_GOTO_ON_ERROR( msc_get_max_lun(msc_device, &lun) );
|
||||||
MSC_GOTO_ON_ERROR( scsi_cmd_inquiry(msc_device) );
|
MSC_GOTO_ON_ERROR( scsi_cmd_inquiry(msc_device) );
|
||||||
MSC_GOTO_ON_ERROR( msc_wait_for_ready_state(msc_device, WAIT_FOR_READY_TIMEOUT_MS) );
|
MSC_GOTO_ON_ERROR( msc_wait_for_ready_state(msc_device, WAIT_FOR_READY_TIMEOUT_MS) );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user