SPIv3: fixed missing spi_lld_wait_complete in spi_lld_ignore()
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14840 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
baba37c505
commit
89633c9685
|
@ -827,6 +827,8 @@ void spi_lld_ignore(SPIDriver *spip, size_t n) {
|
||||||
|
|
||||||
osalDbgAssert(n < 65536, "unsupported DMA transfer size");
|
osalDbgAssert(n < 65536, "unsupported DMA transfer size");
|
||||||
|
|
||||||
|
spi_lld_wait_complete(spip);
|
||||||
|
|
||||||
#if defined(STM32_SPI_DMA_REQUIRED) && defined(STM32_SPI_BDMA_REQUIRED)
|
#if defined(STM32_SPI_DMA_REQUIRED) && defined(STM32_SPI_BDMA_REQUIRED)
|
||||||
if (spip->is_bdma)
|
if (spip->is_bdma)
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue