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

@@ -49,7 +49,7 @@ void SleepActivity::renderCustomSleepScreen() const {
auto dir = SdMan.open("/sleep");
if (dir && dir.isDirectory()) {
std::vector<std::string> files;
char name[128];
char name[500];
// collect all valid BMP files
for (auto file = dir.openNextFile(); file; file = dir.openNextFile()) {
if (file.isDirectory()) {