openthread_sys

Function otPlatFlashErase

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

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.