]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Update i2c.c
authorishtob <ishtob@gmail.com>
Wed, 22 Mar 2017 19:50:52 +0000 (15:50 -0400)
committerGitHub <noreply@github.com>
Wed, 22 Mar 2017 19:50:52 +0000 (15:50 -0400)
keyboards/lets_split/i2c.c

index fbf2f3b767adad1920cd6847f03991de15043afd..084c890c405fa6f7ebfc1be7a699e3d120e5c482 100644 (file)
@@ -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