aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/src/i2c.c
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-30 21:19:51 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-01-30 21:19:51 +0000
commitf4bdefbd11466c09dbf47f3eb680c33987a12172 (patch)
treea09ca0c4ec2745c723aeac312480780cbe34d339 /os/hal/src/i2c.c
parent7ebdd9c7306b46193f88c990a37c4b597911f5f7 (diff)
downloadChibiOS-f4bdefbd11466c09dbf47f3eb680c33987a12172.tar.gz
ChibiOS-f4bdefbd11466c09dbf47f3eb680c33987a12172.tar.bz2
ChibiOS-f4bdefbd11466c09dbf47f3eb680c33987a12172.zip
I2C. Async transmit done. Need much of testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2697 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/i2c.c')
-rw-r--r--os/hal/src/i2c.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c
index e621c652d..5a0471e0f 100644
--- a/os/hal/src/i2c.c
+++ b/os/hal/src/i2c.c
@@ -126,7 +126,7 @@ void i2cStop(I2CDriver *i2cp) {
* @param[in] txbuf the pointer to the transmit buffer
*
*/
-void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg, bool_t restart) {
+void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg) {
chDbgCheck((i2cp != NULL) && (i2cscfg != NULL),
"i2cMasterTransmit");
@@ -134,7 +134,7 @@ void i2cMasterTransmit(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg, bool_t restart)
"i2cMasterTransmit(), #1",
"not active");
- i2c_lld_master_transmit(i2cp, i2cscfg, restart);
+ i2c_lld_master_transmitI(i2cp, i2cscfg);
}
@@ -156,7 +156,7 @@ void i2cMasterReceive(I2CDriver *i2cp, I2CSlaveConfig *i2cscfg) {
"i2cMasterReceive(), #1",
"not active");
- i2c_lld_master_receive(i2cp, i2cscfg);
+ i2c_lld_master_receiveI(i2cp, i2cscfg);
}