fix(ota): Fix the OTA from old to V3 read flash size error

This commit is contained in:
Dong Heng
2019-01-24 13:31:45 +08:00
parent 25d936b8cf
commit de3a9a3618
2 changed files with 81 additions and 8 deletions

View File

@ -613,7 +613,6 @@ bool bootloader_utility_load_partition_table(bootloader_state_t* bs)
bootloader_munmap(partitions);
#ifdef CONFIG_ESP8266_OTA_FROM_OLD
ESP_LOGI(TAG, "Copy firmware ...");
if (esp_patition_table_init_data(bs)) {
ESP_LOGE(TAG,"Failed to update partition data");
return false;