diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-09 22:25:31 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-09 22:25:31 +0000 |
commit | b064c25e390f880570f119f5533e431aaae55721 (patch) | |
tree | ef7c25367244c79f277933b6d6c23891cd5f379f /os/hal/src | |
parent | 6eca6554847f7a824fbbafd892c4b3797e74983d (diff) | |
download | ChibiOS-b064c25e390f880570f119f5533e431aaae55721.tar.gz ChibiOS-b064c25e390f880570f119f5533e431aaae55721.tar.bz2 ChibiOS-b064c25e390f880570f119f5533e431aaae55721.zip |
I2C. Main problem fixed, but some minor problems must to be fixed.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3142 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/i2c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c index 4882330bd..4c9a46e5e 100644 --- a/os/hal/src/i2c.c +++ b/os/hal/src/i2c.c @@ -182,10 +182,8 @@ void i2cMasterTransmit(I2CDriver *i2cp, "i2cMasterTransmit(), #1", "not ready");
i2cp->id_state = I2C_ACTIVE;
- chSysLock();
i2c_lld_master_transmit(i2cp, slave_addr, txbuf, txbytes, rxbuf, rxbytes);
_i2c_wait_s(i2cp);
- chSysUnlock();
}
/**
|