#17 Fix if CONFIG_SDIO_BLOCKSETUP defined, OS will crash. From CCTSAO

This commit is contained in:
Gregory Nutt 2013-08-26 08:54:46 -06:00
parent 250956c803
commit 57eb83da9d

View File

@ -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,