[sky9x] SD Info showed a wrong size
This commit is contained in:
+1
-1
@@ -548,7 +548,7 @@ extern uint32_t transSpeed;
|
|||||||
|
|
||||||
#define SD_GET_SPEED() (transSpeed)
|
#define SD_GET_SPEED() (transSpeed)
|
||||||
|
|
||||||
#define SD_GET_SIZE_MB() (SD_GET_BLOCKNR() / 2)
|
#define SD_GET_SIZE_MB() (SD_GET_BLOCKNR() / 2048)
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user