From 07556a2d033a33d1d4e5a1d75b93681851e485c7 Mon Sep 17 00:00:00 2001 From: barthess Date: Fri, 13 May 2011 13:24:32 +0000 Subject: [PATCH] I2C. Remove dead variable. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2950 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/i2c_lld.c | 1 - 1 file changed, 1 deletion(-) 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