From 7221e1c57ea15f6ebb60e12fb711e24dede98bd6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 8 Oct 2013 09:30:40 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6356 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/I2Cv1/i2c_lld.c | 6 ------ 1 file changed, 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; -- cgit v1.2.3