pub unsafe extern "C" fn bootloader_common_get_active_otadata(
    two_otadata: *mut esp_ota_select_entry_t
) -> c_int
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.