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:
parent
dcd7f60889
commit
0b4a85f3a5
|
@ -160,7 +160,6 @@ static msg_t spi_lld_stop_abort(SPIDriver *spip) {
|
|||
/* Waiting for current frame completion then stop SPI.*/
|
||||
while ((spip->spi->SR & SPI_SR_BSY) != 0U) {
|
||||
}
|
||||
spip->spi->CR1 &= ~SPI_CR1_SPE;
|
||||
|
||||
/* Now it is idle, stopping RX DMA channel.*/
|
||||
dmaStreamDisable(spip->dmarx);
|
||||
|
|
Loading…
Reference in New Issue