Searched refs:valid_two_otadata (Results 1 – 2 of 2) sorted by relevance
64 bool valid_two_otadata[2]; in bootloader_common_get_active_otadata() local65 valid_two_otadata[0] = bootloader_common_ota_select_valid(&two_otadata[0]); in bootloader_common_get_active_otadata()66 valid_two_otadata[1] = bootloader_common_ota_select_valid(&two_otadata[1]); in bootloader_common_get_active_otadata()67 return bootloader_common_select_otadata(two_otadata, valid_two_otadata, true); in bootloader_common_get_active_otadata()92 …common_select_otadata(const esp_ota_select_entry_t *two_otadata, bool *valid_two_otadata, bool max) in bootloader_common_select_otadata() argument94 if (two_otadata == NULL || valid_two_otadata == NULL) { in bootloader_common_select_otadata()98 if (valid_two_otadata[0] && valid_two_otadata[1]) { in bootloader_common_select_otadata()108 if (valid_two_otadata[i]) { in bootloader_common_select_otadata()
151 …ommon_select_otadata(const esp_ota_select_entry_t *two_otadata, bool *valid_two_otadata, bool max);