You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/02/15 23:27:41 UTC

[jira] [Commented] (MYNEWT-335) use of fcb_offset_last_n() is limited

    [ https://issues.apache.org/jira/browse/MYNEWT-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15868803#comment-15868803 ] 

ASF subversion and git services commented on MYNEWT-335:
--------------------------------------------------------

Commit e0d92a5d34849310e0ddbb2179c3d960cf15cc91 in incubator-mynewt-core's branch refs/heads/develop from [~utzig]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=e0d92a5 ]

MYNEWT-335

- fcb_offset_last_n() changed to return a struct fcb_entry
- Added a test case
- Now properly returns error when there is no item at requested offset


> use of fcb_offset_last_n() is limited
> -------------------------------------
>
>                 Key: MYNEWT-335
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-335
>             Project: Mynewt
>          Issue Type: Improvement
>            Reporter: Marko Kiiskila
>            Assignee: Fabio Utzig
>             Fix For: v1_0_0_rel
>
>
> The routine does not return the flash sector where the element is, therefore this is difficult to use in generic case. It really should fill in an full 'struct fcb_entry'.
> Currently the routine is only usable if there is only one sector within FCB.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)