Skip to content

Commit

Permalink
[HAL][MMC] Update MMC High Speed clock
Browse files Browse the repository at this point in the history
  • Loading branch information
KRASTM committed Oct 14, 2024
1 parent 9878851 commit 6f5e35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/stm32h7xx_hal_mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4043,7 +4043,7 @@ static uint32_t MMC_HighSpeed(MMC_HandleTypeDef *hmmc, FunctionalState state)
}
else
{
Init.ClockDiv = (sdmmc_clk / (2U * MMC_HIGH_SPEED_FREQ)) + 1U;
Init.ClockDiv = sdmmc_clk / (2U * MMC_HIGH_SPEED_FREQ);
}
(void)SDMMC_Init(hmmc->Instance, Init);

Expand Down

0 comments on commit 6f5e35e

Please sign in to comment.