From deabf400801005bfb8e915774e407573868bc388 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 28 Sep 2012 17:33:22 +0000 Subject: [PATCH] [sky9x] SD Info showed a wrong size --- src/ersky9x/board.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ersky9x/board.h b/src/ersky9x/board.h index 019b5cc5d..b0a69db23 100644 --- a/src/ersky9x/board.h +++ b/src/ersky9x/board.h @@ -548,7 +548,7 @@ extern uint32_t transSpeed; #define SD_GET_SPEED() (transSpeed) -#define SD_GET_SIZE_MB() (SD_GET_BLOCKNR() / 2) +#define SD_GET_SIZE_MB() (SD_GET_BLOCKNR() / 2048) //------------------------------------------------------------------------------