diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-08 09:30:40 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-10-08 09:30:40 +0000 |
commit | 7221e1c57ea15f6ebb60e12fb711e24dede98bd6 (patch) | |
tree | 9d00837606982f5e95d720a7b2a6cb880482df9a | |
parent | b88cbce874fb44ce66cb659de807bb621b514ce0 (diff) | |
download | ChibiOS-7221e1c57ea15f6ebb60e12fb711e24dede98bd6.tar.gz ChibiOS-7221e1c57ea15f6ebb60e12fb711e24dede98bd6.tar.bz2 ChibiOS-7221e1c57ea15f6ebb60e12fb711e24dede98bd6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6356 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/ports/STM32/I2Cv1/i2c_lld.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/os/hal/ports/STM32/I2Cv1/i2c_lld.c b/os/hal/ports/STM32/I2Cv1/i2c_lld.c index bfc45fa09..81a0f3d34 100644 --- a/os/hal/ports/STM32/I2Cv1/i2c_lld.c +++ b/os/hal/ports/STM32/I2Cv1/i2c_lld.c @@ -745,9 +745,6 @@ msg_t i2c_lld_master_receive_timeout(I2CDriver *i2cp, i2caddr_t addr, osalSysUnlock();
}
- /* This lock will be released in high level driver.*/
- osalSysLock();
-
/* Starts the operation.*/
dp->CR2 |= I2C_CR2_ITEVTEN;
dp->CR1 |= I2C_CR1_START | I2C_CR1_ACK;
@@ -833,9 +830,6 @@ msg_t i2c_lld_master_transmit_timeout(I2CDriver *i2cp, i2caddr_t addr, osalSysUnlock();
}
- /* This lock will be released in high level driver.*/
- osalSysLock();
-
/* Starts the operation.*/
dp->CR2 |= I2C_CR2_ITEVTEN;
dp->CR1 |= I2C_CR1_START;
|