![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int img_mgmt_slot_in_use | ( | int | slot | ) |
#include <img_mgmt.h>
Check if the image slot is in use.
The check is based on MCUboot flags, not image contents. This means that the slot with an image in it, but no bootable flags set, is considered empty. Active slot is always in use.
| slot | Slot number. |