Skip to content

Commit

Permalink
drivers/sdmmc: fix placement of #endif
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Dec 5, 2023
1 parent 848f3d1 commit 97ab5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sdmmc/sdmmc_sdhc.c
Original file line number Diff line number Diff line change
Expand Up @@ -631,8 +631,8 @@ void _core_init(sdhc_dev_t *sdhc_dev)
GCLK->PCHCTRL[SDHC1_GCLK_ID_SLOW].reg = GCLK_PCHCTRL_CHEN
| GCLK_PCHCTRL_GEN(SDHC_CLOCK_SLOW);
MCLK->AHBMASK.bit.SDHC1_ = 1;
#endif /* SDHC1 */
}
#endif /* SDHC1 */
}

static void _init_pins(sdhc_dev_t *sdhc_dev)
Expand Down

0 comments on commit 97ab5ef

Please sign in to comment.