git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6356 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2013-10-08 09:30:40 +00:00
parent b88cbce874
commit 7221e1c57e
1 changed files with 0 additions and 6 deletions

View File

@ -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;