]> granicus.if.org Git - esp-idf/commit
vfs_fat_sdmmc: if card init fails, fail cleanly
authorIvan Grokhotkov <ivan@espressif.com>
Fri, 24 Feb 2017 13:04:22 +0000 (21:04 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 24 Feb 2017 13:04:22 +0000 (21:04 +0800)
commitc17e05040ae6c18895a414950538ddfd5e9c5419
tree6a6613fd0e6f956d21f57cf09046fd2b626bbcc9
parent63e0140ae6733afa8edd345e7135ce43237715bb
vfs_fat_sdmmc: if card init fails, fail cleanly

This fixes the issue with sdmmc_host not returned to clean state after
a failed attempt to mount the card, with no SD card in the slot.
components/fatfs/src/vfs_fat_sdmmc.c
components/fatfs/test/test_fatfs.c