From 231fcce3dce0d83a291e0239efe13fe37ff735a8 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 10 Aug 2018 08:38:30 +0200 Subject: Add i2cbench app --- src/arch/blinkenrocket/driver/i2c.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/arch/blinkenrocket') 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; -- cgit v1.2.3