SD acceleration, display file size in menu (fw side)

This commit is contained in:
ikari
2010-12-04 02:19:36 +01:00
parent f4b88ca792
commit 4bc455f12b
19 changed files with 370 additions and 370 deletions

View File

@@ -61,6 +61,9 @@ UINT file_read() {
UINT file_write() {
UINT bytes_written;
file_res = f_write(&file_handle, file_buf, sizeof(file_buf), &bytes_written);
if(bytes_written < sizeof(file_buf)) {
printf("wrote less than expected - card full?\n");
}
return bytes_written;
}