andrzej-kaczmarek commented on code in PR #3400: URL: https://github.com/apache/mynewt-core/pull/3400#discussion_r2079567253
########## sys/log/full/src/log_cbmem.c: ########## @@ -88,9 +140,21 @@ log_cbmem_append_mbuf_body(struct log *log, const struct log_entry_hdr *hdr, if (hdr->ue_flags & LOG_FLAGS_IMG_HASH) { sg.entries[1].flat_len = LOG_IMG_HASHLEN; } + + if (hdr->ue_flags & LOG_FLAGS_TRAILER_SUPPORT) { +#if MYNEWT_VAL(LOG_FLAGS_TRAILER_SUPPORT) Review Comment: My point is, the `LOG_FLAGS_TRAILER_SUPPORT` only makes sens if trailer support is enabled so checking it outside `#ifdef` doesn't make any sense. -- 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