Skip to content

Commit 10486fe

Browse files
author
Luc
committed
change due to deprecated function
1 parent 3421590 commit 10486fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/Esp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static uint32_t sketchSize(sketchSize_t response) {
156156
.size = running->size,
157157
};
158158
data.start_addr = running_pos.offset;
159-
esp_image_load(ESP_IMAGE_VERIFY, &running_pos, &data);
159+
esp_image_verify(ESP_IMAGE_VERIFY, &running_pos, &data);
160160
if (response) {
161161
return running_pos.size - data.image_len;
162162
} else {

0 commit comments

Comments
 (0)