You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/09/07 09:56:28 UTC

[GitHub] kasjer opened a new pull request #1387: fcb: Fix read of the last entry

kasjer opened a new pull request #1387: fcb: Fix read of the last entry
URL: https://github.com/apache/mynewt-core/pull/1387
 
 
   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.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services