Skip to content

Commit

Permalink
sys/log: Fix style check
Browse files Browse the repository at this point in the history
  • Loading branch information
vrahane committed Jun 11, 2024
1 parent 8333460 commit cb9ab28
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
4 changes: 4 additions & 0 deletions sys/log/full/selftest/fcb2_align1_imghash/syscfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ syscfg.vals:

# The mbuf append tests allocate lots of mbufs; ensure no exhaustion.
MSYS_1_BLOCK_COUNT: 1000
LOG_FLAGS_IMAGE_HASH: 1
IMGMGR_DUMMY_HDR: 1
LOG_MGMT: 0
IMG_MGMT: 0
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@
syscfg.vals:
LOG_FCB2: 1
MCU_FLASH_MIN_WRITE_SIZE: 1
LOG_FLAGS_IMAGE_HASH: 1
LOG_FLAGS_TLV_SUPPORT: 1
LOG_TLV_NUM_ENTRIES: 1

# The mbuf append tests allocate lots of mbufs; ensure no exhaustion.
MSYS_1_BLOCK_COUNT: 1000
LOG_FLAGS_IMAGE_HASH: 1
LOG_FLAGS_TLV_SUPPORT: 1
LOG_TLV_NUM_ENTRIES: 1
IMGMGR_DUMMY_HDR: 1
LOG_MGMT: 0
IMG_MGMT: 0
8 changes: 4 additions & 4 deletions sys/log/full/selftest/util/src/log_test_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ struct dummy_log dummy_log = {
.ue_etype = 3,
.ue_flags = 0
#if MYNEWT_VAL(LOG_FLAGS_IMAGE_HASH)
| LOG_FLAGS_IMG_HASH
| LOG_FLAGS_IMG_HASH
#endif
#if MYNEWT_VAL(LOG_FLAGS_TLV_SUPPORT)
| LOG_FLAGS_TLV_SUPPORT
| LOG_FLAGS_TLV_SUPPORT
#endif
,
.ue_etype = 0,
Expand All @@ -72,8 +72,8 @@ struct dummy_log dummy_log = {
.ue_num_entries = 5
},
.tlv = {
.tag = LOG_TLV_NUM_ENTRIES,
.len = LOG_NUM_ENTRIES_SIZE
.tag = LOG_TLV_NUM_ENTRIES,
.len = LOG_NUM_ENTRIES_SIZE
},
.num_entries = 0,
};
Expand Down

0 comments on commit cb9ab28

Please sign in to comment.