Commit d3afef7
authored
Update HTTPUpdateServer.h
if (!Update.begin(SPIFFS.totalBytes(), U_SPIFFS)) {
throws an error "Update error: Bad Size Given". Changing to
if (!Update.begin(UPDATE_SIZE_UNKNOWN, U_SPIFFS)) {
fixes espressif#99671 parent 4ee17de commit d3afef7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| |||
0 commit comments