When log_walk function is called with lo_ts = -1 (read last entry)
return value is only valid before first write. It correctly reports
logs that were stored in FCB before system started.
This happens because f_active->fe_data_off is not updated during
writes and it is used for read.

This change updated fe_data_off during writes along fe_element_off.

[ Full content available at: https://github.com/apache/mynewt-core/pull/1387 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to