bugfix: update Flash Usage after file upload
if we have the flicker-free RMT driver, also update FS usage info when filling /json/state
This commit is contained in:
@@ -126,6 +126,7 @@ void handleUpload(AsyncWebServerRequest *request, const String& filename, size_t
|
||||
request->send(200, "text/plain", F("File Uploaded!"));
|
||||
}
|
||||
cacheInvalidate++;
|
||||
updateFSInfo(); // refresh memory usage info
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user