You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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#9967
if (!Update.begin(SPIFFS.totalBytes(), U_SPIFFS)) { //start with max available size
126
+
if (!Update.begin(UPDATE_SIZE_UNKNOWN, U_SPIFFS)) { //Instead of SPIFFS.totalBytes(). Fix https://github.com/espressif/arduino-esp32/issues/9967
0 commit comments