summaryrefslogtreecommitdiff
path: root/src/arch/blinkenrocket/driver/i2c.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-08-10 08:38:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2018-08-10 08:38:30 +0200
commit231fcce3dce0d83a291e0239efe13fe37ff735a8 (patch)
treee9a13f1ed6a073bc715e94ee07cac547d557ff6c /src/arch/blinkenrocket/driver/i2c.cc
parent2e1d846a31bc9f45851b46ac70fa75be685a5041 (diff)
Add i2cbench app
Diffstat (limited to 'src/arch/blinkenrocket/driver/i2c.cc')
-rw-r--r--src/arch/blinkenrocket/driver/i2c.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/blinkenrocket/driver/i2c.cc b/src/arch/blinkenrocket/driver/i2c.cc
index 8979fbb..487c60e 100644
--- a/src/arch/blinkenrocket/driver/i2c.cc
+++ b/src/arch/blinkenrocket/driver/i2c.cc
@@ -126,8 +126,6 @@ signed char I2C::xmit(unsigned char address,
unsigned char tx_len, unsigned char *tx_buf,
unsigned char rx_len, unsigned char *rx_buf)
{
- unsigned char i;
-
if (tx_len) {
if (i2c_start_write(address) < 0) {
return -1;