• R/O
  • SSH
  • HTTPS

chibios: 提交


Commit MetaInfo

修订版15839 (tree)
时间2022-11-16 00:31:55
作者gdisirio

Log Message

Fixed yet another problem (thanks Andy).

更改概述

差异

--- trunk/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c (revision 15838)
+++ trunk/os/hal/ports/STM32/LLD/SPIv1/hal_spi_v2_lld.c (revision 15839)
@@ -160,7 +160,6 @@
160160 /* Waiting for current frame completion then stop SPI.*/
161161 while ((spip->spi->SR & SPI_SR_BSY) != 0U) {
162162 }
163- spip->spi->CR1 &= ~SPI_CR1_SPE;
164163
165164 /* Now it is idle, stopping RX DMA channel.*/
166165 dmaStreamDisable(spip->dmarx);
Show on old repository browser