diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-05 18:35:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-05 18:35:39 +0000 |
commit | b88cbce874fb44ce66cb659de807bb621b514ce0 (patch) | |
tree | dcad2f332699c218121468d8a6869f8246b07c14 /os/hal/ports/STM32/I2Cv1/i2c_lld.c | |
parent | 4b049c1f175144f8583df5eb9e3a620ac306ee98 (diff) | |
download | ChibiOS-b88cbce874fb44ce66cb659de807bb621b514ce0.tar.gz ChibiOS-b88cbce874fb44ce66cb659de807bb621b514ce0.tar.bz2 ChibiOS-b88cbce874fb44ce66cb659de807bb621b514ce0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6355 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/I2Cv1/i2c_lld.c')
-rw-r--r-- | os/hal/ports/STM32/I2Cv1/i2c_lld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/I2Cv1/i2c_lld.c b/os/hal/ports/STM32/I2Cv1/i2c_lld.c index 35c607330..bfc45fa09 100644 --- a/os/hal/ports/STM32/I2Cv1/i2c_lld.c +++ b/os/hal/ports/STM32/I2Cv1/i2c_lld.c @@ -706,7 +706,7 @@ msg_t i2c_lld_master_receive_timeout(I2CDriver *i2cp, i2caddr_t addr, systime_t start, end;
#if defined(STM32F1XX_I2C)
- osalDbgCheck((rxbytes > 1), "i2c_lld_master_receive_timeout");
+ osalDbgCheck(rxbytes > 1);
#endif
/* Resetting error flags for this transfer.*/
@@ -789,7 +789,7 @@ msg_t i2c_lld_master_transmit_timeout(I2CDriver *i2cp, i2caddr_t addr, systime_t start, end;
#if defined(STM32F1XX_I2C)
- osalDbgCheck(((rxbytes == 0) || ((rxbytes > 1) && (rxbuf != NULL))));
+ osalDbgCheck((rxbytes == 0) || ((rxbytes > 1) && (rxbuf != NULL)));
#endif
/* Resetting error flags for this transfer.*/
|