Skip to content
Snippets Groups Projects
Commit e9f87b9e authored by swym's avatar swym
Browse files

bugfix: unlock in close_all

parent e1b34bb2
Branches
No related tags found
No related merge requests found
Pipeline #2918 passed
...@@ -185,6 +185,7 @@ void fatfs_close_all(int coreMask) ...@@ -185,6 +185,7 @@ void fatfs_close_all(int coreMask)
EpicFileSystem *fs; EpicFileSystem *fs;
if (efs_lock_global(&fs) == 0) { if (efs_lock_global(&fs) == 0) {
efs_close_all(fs, coreMask); efs_close_all(fs, coreMask);
efs_unlock_global(fs);
} }
} }
static const char *f_get_rc_string(FRESULT rc) static const char *f_get_rc_string(FRESULT rc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment