git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3380 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2011-09-21 19:31:11 +00:00
parent 4ffade3153
commit 40c7a8982a
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ void spi_lld_stop(SPIDriver *spip) {
#endif
#if STM32_SPI_USE_SPI3
if (&SPID3 == spip) {
dmaStreamRelease(STM32_DMA1_STREAM1);
dmaStreamRelease(STM32_DMA1_STREAM2);
dmaStreamRelease(STM32_DMA2_STREAM1);
dmaStreamRelease(STM32_DMA2_STREAM2);
rccDisableSPI3(FALSE);
}
#endif