Merge pull request #508 from stevstrong/patch-16
F1 : Update Wire.cpp to remove BUS_RESET when I2C is enabled
This commit is contained in:
commit
46760bee74
|
@ -50,7 +50,7 @@ uint8 TwoWire::process(uint8 stop) {
|
|||
res = EOTHER;
|
||||
}
|
||||
i2c_disable(sel_hard);
|
||||
i2c_master_enable(sel_hard, (I2C_BUS_RESET | dev_flags));
|
||||
i2c_master_enable(sel_hard, dev_flags);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue