mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 06:45:19 +00:00
stm32h7:stm32_sdmmc fix compiler error when SDMMC2 is enabled
This commit is contained in:
parent
0da3400009
commit
698ac72dae
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue