mgmt: mcumgr: grp: img_mgmt: Fix misplaced #endif
Fixes a misplaced endif which wrongly excluded functions Signed-off-by: Jamie McCrae <spam@helper3000.net>
This commit is contained in:
parent
7271000fe5
commit
5437ded36c
1 changed files with 1 additions and 1 deletions
|
@ -138,6 +138,7 @@ static bool img_mgmt_reset_zse(struct smp_streamer *ctxt)
|
|||
|
||||
return zcbor_map_start_encode(zse, CONFIG_MCUMGR_SMP_CBOR_MAX_MAIN_MAP_ENTRIES);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MCUMGR_GRP_IMG_TOO_LARGE_SYSBUILD)
|
||||
static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse)
|
||||
|
@ -178,7 +179,6 @@ static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse)
|
|||
return ok;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Finds the TLVs in the specified image slot, if any.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue