mirror of
https://github.com/marqs85/ossc
synced 2026-01-27 18:23:25 +03:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5a8b914c84 |
@ -99,7 +99,7 @@ DRESULT disk_write (
|
||||
return STA_NOINIT;
|
||||
|
||||
for (i=0; i<count; i++) {
|
||||
res = SD_Write(&sdcard_dev, (void*)&buff[i*SD_BLK_SIZE], sector);
|
||||
res = SD_Write(&sdcard_dev, (void*)&buff[i*SD_BLK_SIZE], sector+i);
|
||||
if (res != SD_OK)
|
||||
return RES_PARERR;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user