aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/lets_split/i2c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/keyboards/lets_split/i2c.c b/keyboards/lets_split/i2c.c
index fbf2f3b76..084c890c4 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) {
56 if ( (TW_STATUS != TW_START) && (TW_STATUS != TW_REP_START)) 56 if ( (TW_STATUS != TW_START) && (TW_STATUS != TW_REP_START))
57 return 1; 57 return 1;
58 58
59 // send device address
60 TWDR = address; 59 TWDR = address;
61 TWCR = (1<<TWINT) | (1<<TWEN); 60 TWCR = (1<<TWINT) | (1<<TWEN);
62 61
@@ -160,5 +159,4 @@ ISR(TWI_vect) {
160 // Reset everything, so we are ready for the next TWI interrupt 159 // Reset everything, so we are ready for the next TWI interrupt
161 TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN); 160 TWCR |= (1<<TWIE) | (1<<TWINT) | (ack<<TWEA) | (1<<TWEN);
162} 161}
163
164#endif 162#endif