diff --git a/src/Sd2Card.h b/src/Sd2Card.h index eb2effb..6942bcf 100644 --- a/src/Sd2Card.h +++ b/src/Sd2Card.h @@ -132,7 +132,7 @@ class Sd2Card { uint8_t type(void) const; private: - SD_CardInfo _SdCardInfo; + BSP_SD_CardInfo _SdCardInfo; }; #endif // sd2Card_h diff --git a/src/bsp_sd.h b/src/bsp_sd.h index 03443ad..20f7fc1 100644 --- a/src/bsp_sd.h +++ b/src/bsp_sd.h @@ -59,8 +59,9 @@ Please update the core or install previous library version." /*SD Card information structure */ -#define SD_CardInfo HAL_SD_CardInfoTypeDef - +#define BSP_SD_CardInfo HAL_SD_CardInfoTypeDef +/* For backward compatibility */ +#define SD_CardInfo BSP_SD_CardInfo /*SD status structure definition */ #define MSD_OK ((uint8_t)0x00) #define MSD_ERROR ((uint8_t)0x01)