![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| int img_mgmt_state_set_pending | ( | int | slot, |
| int | permanent ) |
#include <img_mgmt.h>
Set the pending flag for the specified image slot.
Sets the specified image slot to be used as the active slot during next boot, either for test or permanently. A non-permanent image will be reverted unless the image confirms itself during next boot.
| slot | Slot number. |
| permanent | Permanent or test only. |