@ccollins476ad I looked further into this and I think my changes in this PR are just a workaround for a bug in `hal_i2c_master_write`. In the case where `last_op` is 0 and an error takes place, `EVENTS_STOPPED=0` doesn't ever happen, and I think that results in the bus being left without a stop condition.
[ Full content available at: https://github.com/apache/mynewt-core/pull/1400 ] This message was relayed via gitbox.apache.org for [email protected]
