stm32h7:stm32_sdmmc fix compiler error when SDMMC2 is enabled
This commit is contained in:
parent
0da3400009
commit
698ac72dae
@ -614,8 +614,13 @@ struct stm32_dev_s g_sdmmcdev2 =
|
||||
.attach = stm32_attach,
|
||||
.sendcmd = stm32_sendcmd,
|
||||
.blocksetup = stm32_blocksetup,
|
||||
#if defined(CONFIG_STM32H7_SDMMC_IDMA)
|
||||
.recvsetup = stm32_dmarecvsetup,
|
||||
.sendsetup = stm32_dmasendsetup,
|
||||
#else
|
||||
.recvsetup = stm32_recvsetup,
|
||||
.sendsetup = stm32_sendsetup,
|
||||
#endif
|
||||
.cancel = stm32_cancel,
|
||||
.waitresponse = stm32_waitresponse,
|
||||
.recv_r1 = stm32_recvshortcrc,
|
||||
|
Loading…
Reference in New Issue
Block a user