From 2e5931ea531f57400d99c3fa76036593258b72f2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 3 Jan 2012 15:30:32 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3716 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/i2c.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os') 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)) /*===========================================================================*/ -- cgit v1.2.3