aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2019-03-15 13:42:48 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2019-03-15 13:42:48 +0000
commitb69a36edd22a1aa2c97cc79a71071a009fb87c29 (patch)
tree59250cdf027f440061dc4123c52c30b4b16919fc
parent031d3262c3078bf3ba7397997486a5a6c1f37fdc (diff)
downloadChibiOS-b69a36edd22a1aa2c97cc79a71071a009fb87c29.tar.gz
ChibiOS-b69a36edd22a1aa2c97cc79a71071a009fb87c29.tar.bz2
ChibiOS-b69a36edd22a1aa2c97cc79a71071a009fb87c29.zip
Fixed bug #1019.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_19.1.x@12693 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c8
-rw-r--r--readme.txt2
2 files changed, 6 insertions, 4 deletions
diff --git a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
index 30abebadb..b7e0b480b 100644
--- a/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
+++ b/os/hal/ports/STM32/LLD/I2Cv3/hal_i2c_lld.c
@@ -981,8 +981,8 @@ void i2c_lld_stop(I2CDriver *i2cp) {
#endif
#if defined(STM32_I2C_BDMA_REQUIRED)
{
- bdmaStreamRelease(i2cp->rx.bdma);
- bdmaStreamRelease(i2cp->tx.bdma);
+ bdmaStreamFreeI(i2cp->rx.bdma);
+ bdmaStreamFreeI(i2cp->tx.bdma);
}
#endif
#if defined(STM32_I2C_DMA_REQUIRED) && defined(STM32_I2C_BDMA_REQUIRED)
@@ -990,8 +990,8 @@ void i2c_lld_stop(I2CDriver *i2cp) {
#endif
#if defined(STM32_I2C_DMA_REQUIRED)
{
- dmaStreamRelease(i2cp->rx.dma);
- dmaStreamRelease(i2cp->tx.dma);
+ dmaStreamFreeI(i2cp->rx.dma);
+ dmaStreamFreeI(i2cp->tx.dma);
}
#endif
diff --git a/readme.txt b/readme.txt
index e8f9cc6f4..72e7b2240 100644
--- a/readme.txt
+++ b/readme.txt
@@ -77,6 +77,8 @@
- LIB: Re-introduced missing chGuardedPoolGetCounterI() function to guarded
pools allocator.
- NEW: Extra timer checks in STM32 ST driver.
+- FIX: Fixed call to obsolete dmaStreamRelease() in STM32 I2Cv3 driver
+ (bug #1019).
- FIX: Fixed misconfiguration in STM32L4R9I DIscovery board files (bug #1018).
- FIX: Fixed wrong Debug launch configuration in STM32L4Rx demos (bug #1017).
- FIX: Fixed wrong ADCSEL definitions in STM32H7 HAL (bug #1016).