🚑️ Fix SDIO Init bootloop on STM32F1 (#24275)
This commit is contained in:
parent
833ea4ec29
commit
c9b97b8d64
|
@ -200,6 +200,7 @@ static uint32_t clock_to_divider(uint32_t clk) {
|
|||
|
||||
bool SDIO_Init() {
|
||||
HAL_StatusTypeDef sd_state = HAL_OK;
|
||||
if (hsd.Instance == SDIO)
|
||||
HAL_SD_DeInit(&hsd);
|
||||
|
||||
/* HAL SD initialization */
|
||||
|
|
Loading…
Reference in a new issue