#17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO
This commit is contained in:
parent
250956c803
commit
57eb83da9d
@ -481,6 +481,9 @@ struct stm32_dev_s g_sdiodev =
|
||||
.clock = stm32_clock,
|
||||
.attach = stm32_attach,
|
||||
.sendcmd = stm32_sendcmd,
|
||||
#ifdef CONFIG_SDIO_BLOCKSETUP
|
||||
.blocksetup = stm32_blocksetup, /* Not implemented yet */
|
||||
#endif
|
||||
.recvsetup = stm32_recvsetup,
|
||||
.sendsetup = stm32_sendsetup,
|
||||
.cancel = stm32_cancel,
|
||||
|
Loading…
Reference in New Issue
Block a user