Skip to content

Commit 12e97de

Browse files
committed
mcumgr: img_mgmt: Fix minor issues
Fix a few typos, that were found during review. Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent 56d1074 commit 12e97de

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
@@ -191,7 +191,7 @@ static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse)
191191

192192
ARG_UNUSED(area_sizes);
193193

194-
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size))
194+
rc = blinfo_lookup(BLINFO_MAX_APPLICATION_SIZE, &max_app_size, sizeof(max_app_size));
195195

196196
if (rc < 0) {
197197
LOG_ERR("Failed to lookup max application size: %d", rc);
@@ -651,7 +651,7 @@ static int img_mgmt_slot_info(struct smp_streamer *ctxt)
651651
}
652652

653653
#if defined(CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD) || \
654-
defined(MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO)
654+
defined(CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_BOOTLOADER_INFO)
655655
ok = img_mgmt_slot_max_size(area_sizes, zse);
656656

657657
if (!ok) {

0 commit comments

Comments
 (0)