diff --git a/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_mmc.h b/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_mmc.h index 714fb3e..e99f3ff 100644 --- a/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_mmc.h +++ b/STM32F7xx_HAL_Driver/Inc/stm32f7xx_hal_mmc.h @@ -243,7 +243,7 @@ typedef struct */ #define BLOCKSIZE ((uint32_t)512U) /*!< Block size is 512 bytes */ -#define CAPACITY ((uint32_t)0x80000000U) /*!< 2 G bytes constant */ +#define CAPACITY ((uint32_t)0x400000U) /*!< Log Block Number for 2 G bytes Cards */ /** @defgroup MMC_Exported_Constansts_Group1 MMC Error status enumeration Structure definition * @{