diff options
Diffstat (limited to 'os/hal/include/mmc_spi.h')
-rw-r--r-- | os/hal/include/mmc_spi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/include/mmc_spi.h b/os/hal/include/mmc_spi.h index a5812e399..a1a33c72d 100644 --- a/os/hal/include/mmc_spi.h +++ b/os/hal/include/mmc_spi.h @@ -157,6 +157,10 @@ typedef struct { * @brief Addresses use blocks instead of bytes.
*/
bool_t block_addresses;
+ /**
+ * @brief Total number of blocks in card.
+ */
+ uint32_t capacity;
} MMCDriver;
/*===========================================================================*/
|