Skip to content

Commit 6a4af24

Browse files
tomchyjhedberg
authored andcommitted
mcumgr: img_mgmt: Fix minor issues
Fix a few typos inside img_mgmt.c file. Signed-off-by: Tomasz Chyrowicz <tomasz.chyrowicz@nordicsemi.no>
1 parent dbcfb77 commit 6a4af24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

subsys/mgmt/mcumgr/grp/img_mgmt/src/img_mgmt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse)
173173

174174
ARG_UNUSED(area_sizes);
175175

176-
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size))
176+
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size));
177177

178178
if (rc < 0) {
179179
LOG_ERR("Failed to lookup max application size: %d", rc);
@@ -626,7 +626,7 @@ static int img_mgmt_slot_info(struct smp_streamer *ctxt)
626626
}
627627

628628
#if defined(CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD) || \
629-
defined(MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO)
629+
defined(CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO)
630630
ok = img_mgmt_slot_max_size(area_sizes, zse);
631631

632632
if (!ok) {

0 commit comments

Comments
 (0)