Fixed Bug #1103
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_20.3.x@13680 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
e0980dd1dc
commit
f034b766da
|
@ -82,15 +82,16 @@ static void spi_lld_serve_interrupt(SPIDriver *spip) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pushing the new TX: this will start a new transfer. */
|
/* Pushing the new TX: this will start a new transfer. */
|
||||||
if((spip->txbuf != NULL) && (spip->size > 0)) {
|
if(spip->size > 0) {
|
||||||
(spip->txbuf)++;
|
if(spip->txbuf != NULL) {
|
||||||
spip->spi->SPITX = *(spip->txbuf);
|
(spip->txbuf)++;
|
||||||
|
spip->spi->SPITX = *(spip->txbuf);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
spip->spi->SPITX = dummy_tx;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
spip->spi->SPITX = dummy_tx;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(spip->size == 0) {
|
|
||||||
/* Portable SPI ISR code defined in the high level driver, note, it is
|
/* Portable SPI ISR code defined in the high level driver, note, it is
|
||||||
a macro.*/
|
a macro.*/
|
||||||
_spi_isr_code(spip);
|
_spi_isr_code(spip);
|
||||||
|
|
|
@ -74,6 +74,8 @@
|
||||||
*****************************************************************************
|
*****************************************************************************
|
||||||
|
|
||||||
*** 20.3.2 ***
|
*** 20.3.2 ***
|
||||||
|
- FIX: Fixed a wrong management of the SPI TX buffer in the ADUCM port
|
||||||
|
(bug #1103).
|
||||||
- FIX: Fixed STM32F4 EFL sector bug (bug #1102).
|
- FIX: Fixed STM32F4 EFL sector bug (bug #1102).
|
||||||
- FIX: Fixed differences in STM32 EXTI (bug #1101).
|
- FIX: Fixed differences in STM32 EXTI (bug #1101).
|
||||||
- FIX: Fixed STM32 DACv1 driver regressed because DMA changes (bug #1100).
|
- FIX: Fixed STM32 DACv1 driver regressed because DMA changes (bug #1100).
|
||||||
|
|
Loading…
Reference in New Issue