Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 19f1a8e

Browse filesBrowse files
committed
Fix commits
1 parent 15f5250 commit 19f1a8e
Copy full SHA for 19f1a8e

File tree

Expand file treeCollapse file tree

2 files changed

+7
-4
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-4
lines changed

‎cores/esp32/Esp.cpp

Copy file name to clipboardExpand all lines: cores/esp32/Esp.cpp
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ static uint32_t sketchSize(sketchSize_t response) {
209209
return data.image_len;
210210
}
211211
}
212-
212+
213213
uint32_t EspClass::getSketchSize () {
214214
return sketchSize(SKETCH_SIZE_TOTAL);
215215
}
@@ -525,17 +525,17 @@ bool EspClass::flashRead(uint32_t offset, uint32_t *data, size_t size)
525525
return esp_flash_read(esp_flash_default_chip, (void*) data, offset, size) == ESP_OK;
526526
}
527527

528-
bool EspClass::partitionEraseRange(const esp_partition_t *partition, uint32_t offset, size_t size)
528+
bool EspClass::partitionEraseRange(const esp_partition_t *partition, uint32_t offset, size_t size)
529529
{
530530
return esp_partition_erase_range(partition, offset, size) == ESP_OK;
531531
}
532532

533-
bool EspClass::partitionWrite(const esp_partition_t *partition, uint32_t offset, uint32_t *data, size_t size)
533+
bool EspClass::partitionWrite(const esp_partition_t *partition, uint32_t offset, uint32_t *data, size_t size)
534534
{
535535
return esp_partition_write(partition, offset, data, size) == ESP_OK;
536536
}
537537

538-
bool EspClass::partitionRead(const esp_partition_t *partition, uint32_t offset, uint32_t *data, size_t size)
538+
bool EspClass::partitionRead(const esp_partition_t *partition, uint32_t offset, uint32_t *data, size_t size)
539539
{
540540
return esp_partition_read(partition, offset, data, size) == ESP_OK;
541541
}

‎libraries/HTTPUpdate/src/HTTPUpdate.cpp

Copy file name to clipboardExpand all lines: libraries/HTTPUpdate/src/HTTPUpdate.cpp
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ HTTPUpdateResult HTTPUpdate::handleUpdate(HTTPClient& http, const String& curren
202202
if(sketchMD5.length() != 0) {
203203
http.addHeader("x-ESP32-sketch-md5", sketchMD5);
204204
}
205+
206+
delay(1); // Fix solo WDT
207+
205208
// Add also a SHA256
206209
String sketchSHA256 = getSketchSHA256();
207210
if(sketchSHA256.length() != 0) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.