summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/i2c.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-30 17:41:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-30 17:41:22 +0000
commitb11b18fe1dcd3531625035d07322a263f4891e1f (patch)
treeaf0b6f5a27b11ffafbe6616cb253ef25d16d791b /nuttx/include/nuttx/i2c.h
parent291ccd2db69524176b349100a5710e451039a8ec (diff)
downloadnuttx-b11b18fe1dcd3531625035d07322a263f4891e1f.tar.gz
nuttx-b11b18fe1dcd3531625035d07322a263f4891e1f.tar.bz2
nuttx-b11b18fe1dcd3531625035d07322a263f4891e1f.zip
Completes first cut of TSC2007 driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3831 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/nuttx/i2c.h')
-rw-r--r--nuttx/include/nuttx/i2c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/i2c.h b/nuttx/include/nuttx/i2c.h
index 56c1d8101..d72b54b29 100644
--- a/nuttx/include/nuttx/i2c.h
+++ b/nuttx/include/nuttx/i2c.h
@@ -114,7 +114,7 @@
*
****************************************************************************/
-#define I2C_SETADDRESS(d,f,b) ((d)->ops->setaddress(d,f,b))
+#define I2C_SETADDRESS(d,a,n) ((d)->ops->setaddress(d,a,n))
/****************************************************************************
* Name: I2C_SETOWNADDRESS
@@ -140,7 +140,7 @@
*
****************************************************************************/
-#define I2C_SETOWNADDRESS(d,f,b) ((d)->ops->setownaddress(d,f,b))
+#define I2C_SETOWNADDRESS(d,a,n) ((d)->ops->setownaddress(d,a,n))
/****************************************************************************
* Name: I2C_WRITE