8000 Downgrade OTA API for IDF 4.2 · nmorse/circuitpython@6c7e6ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c7e6ab

Browse files
committed
Downgrade OTA API for IDF 4.2
1 parent 938a0fa commit 6c7e6ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp32s2/common-hal/dualbank/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ void common_hal_dualbank_flash(const void *buf, const size_t len, const size_t o
100100
}
101101
}
102102

103-
err = esp_ota_begin(update_partition, OTA_WITH_SEQUENTIAL_WRITES, &update_handle);
103+
err = esp_ota_begin(update_partition, OTA_SIZE_UNKNOWN, &update_handle);
104104
if (err != ESP_OK) {
105105
ESP_LOGE(TAG, "esp_ota_begin failed (%s)", esp_err_to_name(err));
106106
task_fatal_error();

0 commit comments

Comments
 (0)
0