This website works better with JavaScript.
Home
Explore
Help
Sign In
visus
/
teensy-serial-flash
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fix reading of filenames with length = multiple of 16
main
Frank
8 years ago
parent
615aec66a8
commit
93f524e0dc
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
SerialFlashDirectory.cpp
+ 1
- 0
SerialFlashDirectory.cpp
View File
@@ -372,6 +372,7 @@ bool SerialFlashChip::readdir(char *filename, uint32_t strsize, uint32_t &filesi
}
}
strsize -= n;
straddr += n;
}
*(p - 1) = 0;
//Serial.printf(" name(overflow) = %s\n", filename);
Write
Preview
Loading…
Cancel
Save