Compilation fix. Massstorage won't use disk cache anymore

This commit is contained in:
Bertrand Songis
2016-07-31 08:10:46 +02:00
parent 67ebadc9e0
commit 4b2315f56b
9 changed files with 60 additions and 66 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ uint32_t sdGetNoSectors()
uint32_t sdGetSize()
{
return (sdGetNoSectors() * 512) / 1000000;
return (sdGetNoSectors() * BLOCK_SIZE) / 1000000;
}
uint32_t sdGetFreeSectors()