diff options
Diffstat (limited to 'os/hal/src/hal_i2c.c')
-rw-r--r-- | os/hal/src/hal_i2c.c | 2 |
1 files changed, 1 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));
|