diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-03 15:30:32 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-01-03 15:30:32 +0000 |
commit | 2e5931ea531f57400d99c3fa76036593258b72f2 (patch) | |
tree | 7b26ac5e7943ac094f62a64cec4e5cabf7af4be8 /os/hal/include/i2c.h | |
parent | 1c62f74c05a78997e62274728b95c8536e6a0953 (diff) | |
download | ChibiOS-2e5931ea531f57400d99c3fa76036593258b72f2.tar.gz ChibiOS-2e5931ea531f57400d99c3fa76036593258b72f2.tar.bz2 ChibiOS-2e5931ea531f57400d99c3fa76036593258b72f2.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3716 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/i2c.h')
-rw-r--r-- | os/hal/include/i2c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 47a1404fa..ac11718bc 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -103,15 +103,15 @@ typedef enum { * @brief Wrap i2cMasterTransmitTimeout function with TIME_INFINITE timeout.
* @api
*/
-#define i2cMasterTransmit(i2cp, addr, txbuf, txbytes, rxbuf, rxbytes) \
- (i2cMasterTransmitTimeout(i2cp, addr, txbuf, txbytes, rxbuf, rxbytes, \
+#define i2cMasterTransmit(i2cp, addr, txbuf, txbytes, rxbuf, rxbytes) \
+ (i2cMasterTransmitTimeout(i2cp, addr, txbuf, txbytes, rxbuf, rxbytes, \
TIME_INFINITE))
/**
* @brief Wrap i2cMasterReceiveTimeout function with TIME_INFINITE timeout.
* @api
*/
-#define i2cMasterReceive(i2cp, addr, rxbuf, rxbytes) \
+#define i2cMasterReceive(i2cp, addr, rxbuf, rxbytes) \
(i2cMasterReceiveTimeout(i2cp, addr, rxbuf, rxbytes, TIME_INFINITE))
/*===========================================================================*/
|