bdk: sdmmc: error reporting changes

- Correct transfer error message
- Add debug print for deinit
This commit is contained in:
CTCaer
2024-06-08 17:41:11 +03:00
parent 054c68f251
commit 48334779a5
2 changed files with 4 additions and 3 deletions

View File

@@ -233,6 +233,8 @@ static int _sdmmc_storage_readwrite_ex(sdmmc_storage_t *storage, u32 *blkcnt_out
int sdmmc_storage_end(sdmmc_storage_t *storage)
{
DPRINTF("[SDMMC%d] end\n", storage->sdmmc->id);
if (!_sdmmc_storage_go_idle_state(storage))
return 0;