bdk: ums: use emmc_end instead of sdmmc_storage_end

This commit is contained in:
CTCaer 2022-12-20 16:55:16 +02:00
parent 2218ae228f
commit 50dd458cfd

View File

@ -1944,7 +1944,7 @@ error:
exit: exit:
if (ums.lun.type == MMC_EMMC) if (ums.lun.type == MMC_EMMC)
sdmmc_storage_end(ums.lun.storage); emmc_end();
usb_ops.usbd_end(true, false); usb_ops.usbd_end(true, false);