vrahane commented on code in PR #3365:
URL: https://github.com/apache/mynewt-core/pull/3365#discussion_r1956649023
##########
sys/log/full/src/log_fcb2.c:
##########
@@ -179,6 +180,14 @@ log_fcb2_start_append(struct log *log, int len, struct
fcb2_entry *loc)
goto err;
}
+#if MYNEWT_VAL(LOG_FCB_SECTOR_BOOKMARKS)
+ /* The FCB needs to be rotated, reinit previously allocated
+ * bookmarks
+ */
+ log_fcb_init_bmarks(fcb_log, fcb_log->fl_bset.lfs_bmarks,
Review Comment:
Wonder how the unit tests passed. I did fix it earlier but since I was
debugging on a separate machine, I might have made a mistake while rebasing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]