[Horus] A few SD card / Models storage fixes

This commit is contained in:
Bertrand Songis
2015-11-27 21:33:02 +01:00
parent 787d2ffa92
commit bca9866675
5 changed files with 54 additions and 36 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ DRESULT disk_write (
}
if (count == 1) {
Status = SD_WriteBlock((uint8_t *)buff, sector*BLOCK_SIZE, BLOCK_SIZE); // 4GB Compliant
Status = SD_WriteBlock((uint8_t *)buff, sector, BLOCK_SIZE); // 4GB Compliant
}
else {
Status = SD_WriteMultiBlocks((uint8_t *)buff, sector, BLOCK_SIZE, count); // 4GB Compliant