advanced_https_ota: Remove check for CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK for validating image.

Image should be validated even if CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE is enabled
pull/7130/head
Shubham Kulkarni 2021-05-31 14:18:18 +05:30 zatwierdzone przez bot
rodzic 3064487c20
commit ab9e5d3ea4
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -197,7 +197,7 @@ void app_main(void)
*/
ESP_ERROR_CHECK(example_connect());
#if defined(CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE) && defined(CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK)
#if defined(CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE)
/**
* We are treating successful WiFi connection as a checkpoint to cancel rollback
* process and mark newly updated firmware image as active. For production cases,