Fixed yet another problem (thanks Andy).

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15839 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
Giovanni Di Sirio 2022-11-15 15:31:55 +00:00
parent dcd7f60889
commit 0b4a85f3a5
1 changed files with 0 additions and 1 deletions

View File

@ -160,7 +160,6 @@ static msg_t spi_lld_stop_abort(SPIDriver *spip) {
/* Waiting for current frame completion then stop SPI.*/ /* Waiting for current frame completion then stop SPI.*/
while ((spip->spi->SR & SPI_SR_BSY) != 0U) { while ((spip->spi->SR & SPI_SR_BSY) != 0U) {
} }
spip->spi->CR1 &= ~SPI_CR1_SPE;
/* Now it is idle, stopping RX DMA channel.*/ /* Now it is idle, stopping RX DMA channel.*/
dmaStreamDisable(spip->dmarx); dmaStreamDisable(spip->dmarx);