Adresses comments in #2036 - Thanks to Damjan for the review!

This commit is contained in:
bsongis
2015-01-22 20:17:26 +01:00
parent e05b74b05c
commit 30e1d09584
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -166,6 +166,7 @@ const char *fileCopy(const char *filename, const char *srcDir, const char *destD
result = f_open(&dstFile, path, FA_CREATE_ALWAYS | FA_WRITE);
if (result != FR_OK) {
f_close(&srcFile);
return SDCARD_ERROR(result);
}