diff options
author | Jack Humbert <jack.humb@gmail.com> | 2018-06-12 14:27:22 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-06-12 14:27:22 -0400 |
commit | b8564f5dd08f49ee0fc6d28957a376132bd7038d (patch) | |
tree | 5a0ddabb672b057ea0f5c6fcb97f08a5dae11272 /drivers/avr | |
parent | 998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (diff) | |
download | qmk_firmware-b8564f5dd08f49ee0fc6d28957a376132bd7038d.tar.gz |
revert some attempts, update i2c
Diffstat (limited to 'drivers/avr')
-rwxr-xr-x | drivers/avr/i2c_master.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/avr/i2c_master.c b/drivers/avr/i2c_master.c index bcf92153c..cd3c2e1c8 100755 --- a/drivers/avr/i2c_master.c +++ b/drivers/avr/i2c_master.c @@ -21,7 +21,7 @@ void i2c_init(void) uint8_t i2c_start(uint8_t address) { // reset TWI control register - //TWCR = 0; + TWCR = 0; // transmit START condition TWCR = (1<<TWINT) | (1<<TWSTA) | (1<<TWEN); // wait for end of transmission |