Fixed bug 3288112.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2878 35acf78f-673a-0410-8e92-d51de3d6d3f4master
parent
224cb11822
commit
786a0a6c71
|
@ -264,6 +264,8 @@ typedef enum {
|
||||||
if ((spip)->state == SPI_COMPLETE) \
|
if ((spip)->state == SPI_COMPLETE) \
|
||||||
(spip)->state = SPI_READY; \
|
(spip)->state = SPI_READY; \
|
||||||
} \
|
} \
|
||||||
|
else \
|
||||||
|
(spip)->state = SPI_READY; \
|
||||||
_spi_wakeup_isr(spip); \
|
_spi_wakeup_isr(spip); \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -116,6 +116,7 @@ static void spi_lld_serve_tx_interrupt(SPIDriver *spip, uint32_t flags) {
|
||||||
|
|
||||||
/* DMA errors handling.*/
|
/* DMA errors handling.*/
|
||||||
#if defined(STM32_SPI_DMA_ERROR_HOOK)
|
#if defined(STM32_SPI_DMA_ERROR_HOOK)
|
||||||
|
(void)spip;
|
||||||
if ((flags & DMA_ISR_TEIF1) != 0) {
|
if ((flags & DMA_ISR_TEIF1) != 0) {
|
||||||
STM32_SPI_DMA_ERROR_HOOK(spip);
|
STM32_SPI_DMA_ERROR_HOOK(spip);
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 2.3.2 ***
|
*** 2.3.2 ***
|
||||||
|
- FIX: Fixed missing state transition in SPI driver (bug 3288112)(backported
|
||||||
|
to 2.2.4).
|
||||||
- FIX: Fixed spurious characters generated by Serial over USB driver (bug
|
- FIX: Fixed spurious characters generated by Serial over USB driver (bug
|
||||||
3276379).
|
3276379).
|
||||||
- NEW: Now it is possible to share DMA channels in the STM32 HAL thanks
|
- NEW: Now it is possible to share DMA channels in the STM32 HAL thanks
|
||||||
|
|
Loading…
Reference in New Issue