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 File creation bug
main
PaulStoffregen
9 years ago
parent
ca2636e7fc
commit
b53b2910a9
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
+1
-1
SerialFlashDirectory.cpp
+ 1
- 1
SerialFlashDirectory.cpp
View File
@@ -236,8 +236,8 @@ static uint32_t string_length(uint32_t addr)
while (1) {
SerialFlash.read(addr, buf, sizeof(buf));
for (p=buf; p < buf + sizeof(buf); p++) {
if (*p == 0) return len;
len++;
if (*p == 0) return len;
}
addr += len;
}
Write
Preview
Loading…
Cancel
Save