summaryrefslogtreecommitdiff
path: root/drivers/avr
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2018-06-12 14:27:22 -0400
committerJack Humbert <jack.humb@gmail.com>2018-06-12 14:27:22 -0400
commitb8564f5dd08f49ee0fc6d28957a376132bd7038d (patch)
tree5a0ddabb672b057ea0f5c6fcb97f08a5dae11272 /drivers/avr
parent998ddbb122c9d3e2a77bd4e88c881b225ca0d569 (diff)
revert some attempts, update i2c
Diffstat (limited to 'drivers/avr')
-rwxr-xr-xdrivers/avr/i2c_master.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/avr/i2c_master.c b/drivers/avr/i2c_master.c
index bcf92153c5..cd3c2e1c81 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