diff options
author | ishtob <ishtob@gmail.com> | 2017-03-22 15:50:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-22 15:50:52 -0400 |
commit | d5f56e91e43c881323df243baebd9dd982e9cbad (patch) | |
tree | dea55d020dae375de1bf4db51c0ede01970c1b32 /keyboards/lets_split/i2c.c | |
parent | bb413383eecbeaf1174668415bd25ee4150963f5 (diff) |
Update i2c.c
Diffstat (limited to 'keyboards/lets_split/i2c.c')
-rw-r--r-- | keyboards/lets_split/i2c.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/keyboards/lets_split/i2c.c b/keyboards/lets_split/i2c.c index fbf2f3b767..084c890c40 100644 --- a/keyboards/lets_split/i2c.c +++ b/keyboards/lets_split/i2c.c @@ -56,7 +56,6 @@ uint8_t i2c_master_start(uint8_t address) { if ( (TW_STATUS != TW_START) && (TW_STATUS != TW_REP_START)) return 1; - // send device address TWDR = address; TWCR = (1<<TWINT) | (1<<TWEN); @@ -160,5 +159,4 @@ ISR(TWI_vect) { // Reset everything, so we are ready for the next TWI interrupt TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN); } - #endif |