diff options
author | Jack Humbert <jack.humb@gmail.com> | 2018-06-12 20:27:22 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-06-12 20:27:22 +0200 |
commit | b8564f5dd08f49ee0fc6d28957a376132bd7038d (patch) | |
tree | 5a0ddabb672b057ea0f5c6fcb97f08a5dae11272 /drivers | |
parent | 998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (diff) | |
download | qmk_firmware-b8564f5dd08f49ee0fc6d28957a376132bd7038d.tar.gz qmk_firmware-b8564f5dd08f49ee0fc6d28957a376132bd7038d.tar.xz |
revert some attempts, update i2c
Diffstat (limited to 'drivers')
-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 |