diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-27 13:08:59 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-02-27 13:08:59 +0000 |
commit | 36b481fd062d195461ca447973d7aa2a24fa953d (patch) | |
tree | 64aa1cdc44c5639a0da19968d244228ce06356ac /os/hal/src | |
parent | bf985ba081df6de5016e6a81f737f16a6c32f6a9 (diff) | |
download | ChibiOS-36b481fd062d195461ca447973d7aa2a24fa953d.tar.gz ChibiOS-36b481fd062d195461ca447973d7aa2a24fa953d.tar.bz2 ChibiOS-36b481fd062d195461ca447973d7aa2a24fa953d.zip |
Fixed bug #923.
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11586 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/src')
-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));
|