diff --git a/arch/arm/src/stm32f7/stm32_sdmmc.c b/arch/arm/src/stm32f7/stm32_sdmmc.c index fe9882e9a8..5e95144748 100644 --- a/arch/arm/src/stm32f7/stm32_sdmmc.c +++ b/arch/arm/src/stm32f7/stm32_sdmmc.c @@ -950,7 +950,7 @@ static void stm32_configxfrints(struct stm32_dev_s *priv, uint32_t xfrmask) priv->xfrmask = xfrmask; #ifdef HAVE_SDMMC_SDIO_MODE - if (priv->sdiomode == true + if (priv->sdiomode == true) { sdmmc_putreg32(priv, priv->xfrmask | priv->waitmask | priv->sdiointmask, STM32_SDMMC_MASK_OFFSET); @@ -1272,14 +1272,14 @@ static void stm32_dataconfig(struct stm32_dev_s *priv, uint32_t timeout, STM32_SDMMC_DCTRL_DBLOCKSIZE_MASK); #ifdef HAVE_SDMMC_SDIO_MODE - if (priv->sdiomode==true + if (priv->sdiomode == true) { regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN | STM32_SDMMC_DCTRL_SDIOEN); } else #endif { - regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN ); + regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN); } sdmmc_putreg32(priv, regval, STM32_SDMMC_DCTRL_OFFSET);