Replaced return 0 with return 0.0 since it's a double

This commit is contained in:
anschrammh 2020-02-02 20:56:16 +01:00
parent 741eee8f5d
commit cb16ab7c41

View File

@ -10,7 +10,7 @@ double SDCardManager::getSize(const SizeUnit sizeUnit)
uint64_t numberOf512BytesChunks = blocksPerCluster() * totalClusters();//cardSize();
double result = 0;
if(!isMounted()) return 0;
if(!isMounted()) return 0.0;
switch(sizeUnit)
{