Merge pull request #910 from openmv/portenta_sdcard

Portenta sdcard
This commit is contained in:
Ibrahim Abd Elkader 2020-09-27 23:40:17 +02:00 committed by GitHub
commit 28dcdf2c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit c2a45d7b1f6070e761fc045dd0668f8e7b63b833
Subproject commit 7eef9883c083ae2f110ab77cdbf5f6d256487c04

View File

@ -521,7 +521,7 @@ soft_reset:
if (sdcard_is_present()) {
// Init the vfs object
vfs_fat->blockdev.flags = 0;
sdcard_init_vfs(vfs_fat, 1);
sdcard_init_vfs(vfs_fat, 0);
// Try to mount the SD card
FRESULT res = f_mount(&vfs_fat->fatfs);