8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3068cd0 commit 4ae6eccCopy full SHA for 4ae6ecc
libraries/SD/src/SD.h
@@ -128,7 +128,7 @@ class SDClass {
128
}
129
130
size_t totalBlocks() {
131
- return (totalClusters() / blocksPerCluster());
+ return (totalClusters() * blocksPerCluster());
132
133
134
size_t clusterSize() {
libraries/SDFS/src/SDFS.h
@@ -183,7 +183,7 @@ class SDFSImpl : public FSImpl {
183
return _fs.vol()->clusterCount();
184
185
186
187
188
189
return _fs.vol()->bytesPerCluster();
0 commit comments