Merge pull request #96 from DavidLin1577/patch-11

Minor optimisation to the step  f_sync and f_close
This commit is contained in:
Arthur
2020-02-16 19:48:49 +08:00
committed by GitHub

View File

@@ -50,8 +50,9 @@ void application_entry(void *arg)
} else {
printf("read error: %d\n", res);
}
f_close(&file);
f_sync(&file);
f_close(&file);
}