Function esp_idf_svc::hal::sys::bootloader_common_get_active_otadata

source ยท
pub unsafe extern "C" fn bootloader_common_get_active_otadata(
    two_otadata: *mut esp_ota_select_entry_t,
) -> i32
Expand description

@brief Returns the number of active otadata.

@param[in] two_otadata Pointer on array from two otadata structures.

@return The number of active otadata (0 or 1). - -1: If it does not have active otadata.