diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-10 08:38:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-10 08:38:30 +0200 |
commit | 231fcce3dce0d83a291e0239efe13fe37ff735a8 (patch) | |
tree | e9a13f1ed6a073bc715e94ee07cac547d557ff6c /src/arch/blinkenrocket/driver/i2c.cc | |
parent | 2e1d846a31bc9f45851b46ac70fa75be685a5041 (diff) |
Add i2cbench app
Diffstat (limited to 'src/arch/blinkenrocket/driver/i2c.cc')
-rw-r--r-- | src/arch/blinkenrocket/driver/i2c.cc | 2 |
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; |