aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/src/hal_i2c.c2
-rw-r--r--readme.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/src/hal_i2c.c b/os/hal/src/hal_i2c.c
index e4c0696eb..158cfeb24 100644
--- a/os/hal/src/hal_i2c.c
+++ b/os/hal/src/hal_i2c.c
@@ -176,7 +176,7 @@ msg_t i2cMasterTransmitTimeout(I2CDriver *i2cp,
sysinterval_t timeout) {
msg_t rdymsg;
- osalDbgCheck((i2cp != NULL) && (addr != 0U) &&
+ osalDbgCheck((i2cp != NULL) &&
(txbytes > 0U) && (txbuf != NULL) &&
((rxbytes == 0U) || ((rxbytes > 0U) && (rxbuf != NULL))) &&
(timeout != TIME_IMMEDIATE));
diff --git a/readme.txt b/readme.txt
index 1c9232c8e..ac52e9734 100644
--- a/readme.txt
+++ b/readme.txt
@@ -89,6 +89,8 @@
*****************************************************************************
*** Next ***
+- HAL: Fixed I2C address not accepted (bug #923)(backported to 18.2.1
+ and 17.6.4).
- HAL: Fixed problem with HSI48 on STM32L4xx (bug #922)(backported to 18.2.1).
- HAL: Fixed invalid implementation of palWaitPadTimeoutS() and
palWaitLineTimeoutS() APIs (bug #921)(backported to 18.2.1).