mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-04 05:04:33 +02:00
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
This commit is contained in:
@@ -197,7 +197,7 @@ void app_main(void)
|
|||||||
*/
|
*/
|
||||||
ESP_ERROR_CHECK(example_connect());
|
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
|
* We are treating successful WiFi connection as a checkpoint to cancel rollback
|
||||||
* process and mark newly updated firmware image as active. For production cases,
|
* process and mark newly updated firmware image as active. For production cases,
|
||||||
|
Reference in New Issue
Block a user