nRF Connect SDK API 0.1.0
|
int get_monotonic_slot | ( | uint16_t * | slot_out | ) |
#include <include/bl_validation.h>
Write the stored slot to the output parameter 'slot_out'.
[out] | slot_out | Slot where firmware is located. Can be 0 or 1. |
0 | Success |
-EINVAL | Error during reading the version or version is NULL. |