This is a fix for situations where a slave device is left holding the SDA line low, which effectively prevents the master from regaining control of the bus. This can occur if an I2C transaction fails in the middle of reading data from some slave devices.
Note: The fix is inserted between TWI disable/enabled because TWI must be disabled in order for the SCL and SDA pins to be driven using GPIO functionality. [ Full content available at: https://github.com/apache/mynewt-core/pull/1424 ] This message was relayed via gitbox.apache.org for [email protected]
