Fixed bug #710.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_16.1.x@8938 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ef97c20639
commit
a25642262d
|
@ -361,12 +361,12 @@ void spi_lld_start(SPIDriver *spip) {
|
|||
STM32_SPI_SPI4_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
b = dmaStreamAllocate(spip->dmatx,
|
||||
STM32_SPI_SPI4_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
rccEnableSPI4(FALSE);
|
||||
}
|
||||
#endif
|
||||
|
@ -377,12 +377,12 @@ void spi_lld_start(SPIDriver *spip) {
|
|||
STM32_SPI_SPI5_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
b = dmaStreamAllocate(spip->dmatx,
|
||||
STM32_SPI_SPI5_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
rccEnableSPI5(FALSE);
|
||||
}
|
||||
#endif
|
||||
|
@ -393,12 +393,12 @@ void spi_lld_start(SPIDriver *spip) {
|
|||
STM32_SPI_SPI6_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_rx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
b = dmaStreamAllocate(spip->dmatx,
|
||||
STM32_SPI_SPI6_IRQ_PRIORITY,
|
||||
(stm32_dmaisr_t)spi_lld_serve_tx_interrupt,
|
||||
(void *)spip);
|
||||
osalDgbAssert(!b, "stream already allocated");
|
||||
osalDbgAssert(!b, "stream already allocated");
|
||||
rccEnableSPI6(FALSE);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** 16.1.4 ***
|
||||
- HAL: Fixed build error caused by STM32 SPIv1 driver (bug #710).
|
||||
- HAL: Fixed shift of signed constant causes warnings with IAR compiler
|
||||
(bug #709).
|
||||
- HAL: Fixed wrong RTCv2 settings for STM32L4 (bug #708).
|
||||
|
|
Loading…
Reference in New Issue