From 0b4a85f3a557a10ced90031f27a3d718e1a54880 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 15 Nov 2022 15:31:55 +0000 Subject: [PATCH] Fixed yet another problem (thanks Andy). git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15839 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c | 1 - 1 file changed, 1 deletion(-) diff --git a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c index 2785c4f44..544850fa0 100644 --- a/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c +++ b/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c @@ -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);