Merge branch 'bugfix/usb_msc_example' into 'master'

Bugfix: omit MSC reset during initialization

See merge request espressif/esp-idf!16916
pull/6150/merge
morris 2022-01-28 01:09:13 +00:00
commit 5a2b3459c9
1 zmienionych plików z 0 dodań i 1 usunięć

Wyświetl plik

@ -363,7 +363,6 @@ esp_err_t msc_host_install_device(uint8_t device_address, msc_host_device_handle
msc_device->handle,
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( scsi_cmd_inquiry(msc_device) );
MSC_GOTO_ON_ERROR( msc_wait_for_ready_state(msc_device, WAIT_FOR_READY_TIMEOUT_MS) );