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:
Dave Allie
2026-01-07 22:43:19 +10:00
committed by GitHub
parent 2b12a65011
commit 0bae3bbf64
4 changed files with 11 additions and 9 deletions

View File

@@ -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);