[ 
https://issues.apache.org/jira/browse/MYNEWT-380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Snyder resolved MYNEWT-380.
---------------------------------
    Resolution: Fixed

> Only one fcb log supported
> --------------------------
>
>                 Key: MYNEWT-380
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-380
>             Project: Mynewt
>          Issue Type: Bug
>            Reporter: Christopher Collins
>            Assignee: Peter Snyder
>             Fix For: v1_0_0_beta1
>
>
> sys/log/src/log_fcb.c contains a global fcb_log struct that is used for the 
> reboot log.  An application may want to use several FCB logs, which is 
> currently not possible.
> A possible solution is to change log_fcb_handler_init() as follows:
> From:
> {code}
> int
> log_fcb_handler_init(struct log_handler *handler, struct fcb *fcb, uint8_t 
> entries)
> {code}
> To:
> {code}
> int
> log_fcb_handler_init(struct log_handler *handler, struct fcb_log *fcb_log, 
> uint8_t entries)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to