vrahane commented on code in PR #3382: URL: https://github.com/apache/mynewt-core/pull/3382#discussion_r1992146351
########## fs/fcb/src/fcb.c: ########## @@ -110,6 +110,12 @@ fcb_free_sector_cnt(struct fcb *fcb) { int i; struct flash_area *fa; + int rc = 0; + + rc = os_mutex_pend(&fcb->f_mtx, OS_WAIT_FOREVER); + if (rc && rc != OS_NOT_STARTED) { + return FCB_ERR_ARGS; Review Comment: Will update the header file with the description. -- 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: notifications-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org