aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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).