1
0
Fork 0

Fix Helix i2c wrong bit rate (#3207)

This commit is contained in:
MakotoKurauchi 2018-06-22 02:44:33 +09:00 committed by Drashna Jaelre
parent f5109c93dd
commit 0f3a73025c
7 changed files with 3 additions and 10 deletions

View file

@ -34,7 +34,7 @@ void i2c_delay(void) {
// _delay_us(100);
}
// Setup twi to run at 100kHz
// Setup twi to run at 100kHz or 400kHz (see ./i2c.h SCL_CLOCK)
void i2c_master_init(void) {
// no prescaler
TWSR = 0;