nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ dfu_lock_release()

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.

Parameters
ownerDFU owner descriptor.
Return values
0on success.
-EPERMif the DFU lock has not been claimed by the owner.