This is an automated email from the ASF dual-hosted git repository. marko pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit eead0c8d2cf9b9e696a0aa9a86426d52e66b8409 Author: Marko Kiiskila <ma...@apache.org> AuthorDate: Fri Aug 30 13:54:08 2019 +0300 sys/reboot; fix broken build when LOG_FCB is set. --- sys/reboot/src/log_reboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/reboot/src/log_reboot.c b/sys/reboot/src/log_reboot.c index c9c3780..24e335f 100644 --- a/sys/reboot/src/log_reboot.c +++ b/sys/reboot/src/log_reboot.c @@ -94,7 +94,7 @@ log_reboot_init_fcb(void) } fcbp = &reboot_log_fcb.fl_fcb; #if MYNEWT_VAL(LOG_FCB) - sector = *ptr; + reboot_sector = *ptr; fcbp->f_magic = 0x7EADBADF; fcbp->f_version = g_log_info.li_version; fcbp->f_sector_cnt = 1;