arch/arm/src/stm32f7/stm32_sdmmc.c: Fix some missing right parentheses.
This commit is contained in:
parent
6571d4fa37
commit
1450c0c2f2
|
@ -950,7 +950,7 @@ static void stm32_configxfrints(struct stm32_dev_s *priv, uint32_t xfrmask)
|
||||||
priv->xfrmask = xfrmask;
|
priv->xfrmask = xfrmask;
|
||||||
|
|
||||||
#ifdef HAVE_SDMMC_SDIO_MODE
|
#ifdef HAVE_SDMMC_SDIO_MODE
|
||||||
if (priv->sdiomode == true
|
if (priv->sdiomode == true)
|
||||||
{
|
{
|
||||||
sdmmc_putreg32(priv, priv->xfrmask | priv->waitmask | priv->sdiointmask,
|
sdmmc_putreg32(priv, priv->xfrmask | priv->waitmask | priv->sdiointmask,
|
||||||
STM32_SDMMC_MASK_OFFSET);
|
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);
|
STM32_SDMMC_DCTRL_DBLOCKSIZE_MASK);
|
||||||
|
|
||||||
#ifdef HAVE_SDMMC_SDIO_MODE
|
#ifdef HAVE_SDMMC_SDIO_MODE
|
||||||
if (priv->sdiomode==true
|
if (priv->sdiomode == true)
|
||||||
{
|
{
|
||||||
regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN | STM32_SDMMC_DCTRL_SDIOEN);
|
regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN | STM32_SDMMC_DCTRL_SDIOEN);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN );
|
regval |= (dctrl | STM32_SDMMC_DCTRL_DTEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
sdmmc_putreg32(priv, regval, STM32_SDMMC_DCTRL_OFFSET);
|
sdmmc_putreg32(priv, regval, STM32_SDMMC_DCTRL_OFFSET);
|
||||||
|
|
Loading…
Reference in New Issue