[][src]Function openthread_sys::otPlatFlashErase

pub unsafe extern "C" fn otPlatFlashErase(
    aInstance: *mut otInstance,
    aSwapIndex: u8
)

This function erases the swap space indicated by @p aSwapIndex.

@param[in] aInstance The OpenThread instance structure. @param[in] aSwapIndex A value in [0, 1] that indicates the swap space.