nRF Connect SDK API 0.1.0
|
int dfu_lock_release | ( | const struct dfu_lock_owner * | owner | ) |
#include <applications/nrf_desktop/src/util/dfu_lock.h>
Release the DFU lock.
Release the DFU lock for the provided owner instance to allow other owners to lock it. You must stop interacting with the DFU flash memory once you release the DFU lock.
owner | DFU owner descriptor. |
0 | on success. |
-EPERM | if the DFU lock has not been claimed by the owner. |