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:
1 parent
2b12a65011
commit
0bae3bbf64
4 files changed
+11
-9
No files matched your search
@@ -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