Support up to 500 character file names (#275)
## Summary - Support up to 500 character file names ## Additional Context - Fixes #265
This commit is contained in:
@@ -194,7 +194,7 @@ void CrossPointWebServer::scanFiles(const char* path, const std::function<void(F
|
||||
Serial.printf("[%lu] [WEB] Scanning files in: %s\n", millis(), path);
|
||||
|
||||
FsFile file = root.openNextFile();
|
||||
char name[128];
|
||||
char name[500];
|
||||
while (file) {
|
||||
file.getName(name, sizeof(name));
|
||||
auto fileName = String(name);
|
||||
|
||||
Reference in New Issue
Block a user