diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-13 13:24:32 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-05-13 13:24:32 +0000 |
commit | 07556a2d033a33d1d4e5a1d75b93681851e485c7 (patch) | |
tree | 60fb64412188fa115cfa24a7aeddca45a17de9e3 | |
parent | 732eaa72c18b9bc6ddb9b6c5ac2294420d14552e (diff) | |
download | ChibiOS-07556a2d033a33d1d4e5a1d75b93681851e485c7.tar.gz ChibiOS-07556a2d033a33d1d4e5a1d75b93681851e485c7.tar.bz2 ChibiOS-07556a2d033a33d1d4e5a1d75b93681851e485c7.zip |
I2C. Remove dead variable.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2950 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/platforms/STM32/i2c_lld.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.c b/os/hal/platforms/STM32/i2c_lld.c index 02f1105de..388409774 100644 --- a/os/hal/platforms/STM32/i2c_lld.c +++ b/os/hal/platforms/STM32/i2c_lld.c @@ -602,7 +602,6 @@ void i2c_lld_master_receive(I2CDriver *i2cp){ * */ void i2c_lld_master_transceive(I2CDriver *i2cp){ - uint32_t a, b; // enable ERR, EVT & BUF ITs i2cp->id_i2c->CR2 |= (I2C_CR2_ITERREN|I2C_CR2_ITEVTEN|I2C_CR2_ITBUFEN); i2cp->id_i2c->CR1 |= I2C_CR1_ACK; // acknowledge returned |