SDIO: Fix compilation where SDIO is called SDMMC

This commit is contained in:
Daniel Fekete 2017-05-03 19:49:56 +02:00
parent e9eadf7698
commit 5fc7208ea4
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ void stm32AfI2CInit(const I2C_TypeDef *instance,
GPIO_TypeDef *sdaPort, uint32_t sdaPin,
GPIO_TypeDef *sclPort, uint32_t sclPin);
#if defined(SDIO) || defined(SDMMC)
#if defined(SDIO) || defined(SDMMC1)
#ifndef SD_TypeDef
#define SD_TypeDef SDIO_TypeDef