mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/sdmmc: fix placement of #endif
This commit is contained in:
parent
848f3d1ade
commit
97ab5ef12e
@ -631,8 +631,8 @@ void _core_init(sdhc_dev_t *sdhc_dev)
|
|||||||
GCLK->PCHCTRL[SDHC1_GCLK_ID_SLOW].reg = GCLK_PCHCTRL_CHEN
|
GCLK->PCHCTRL[SDHC1_GCLK_ID_SLOW].reg = GCLK_PCHCTRL_CHEN
|
||||||
| GCLK_PCHCTRL_GEN(SDHC_CLOCK_SLOW);
|
| GCLK_PCHCTRL_GEN(SDHC_CLOCK_SLOW);
|
||||||
MCLK->AHBMASK.bit.SDHC1_ = 1;
|
MCLK->AHBMASK.bit.SDHC1_ = 1;
|
||||||
#endif /* SDHC1 */
|
|
||||||
}
|
}
|
||||||
|
#endif /* SDHC1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
static void _init_pins(sdhc_dev_t *sdhc_dev)
|
static void _init_pins(sdhc_dev_t *sdhc_dev)
|
||||||
|
Loading…
Reference in New Issue
Block a user