aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/src/spi.c')
-rw-r--r--os/hal/src/spi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/os/hal/src/spi.c b/os/hal/src/spi.c
index b4eccb0af..2dc0cc6ee 100644
--- a/os/hal/src/spi.c
+++ b/os/hal/src/spi.c
@@ -126,7 +126,6 @@ void spiStop(SPIDriver *spip) {
chSysLock();
chDbgAssert((spip->state == SPI_STOP) || (spip->state == SPI_READY),
"spiStop(), #1", "invalid state");
- spi_lld_unselect(spip);
spi_lld_stop(spip);
spip->state = SPI_STOP;
chSysUnlock();