Browse Source

fix string_length

...i don't know where this caused problems, but unpatched, it is wrong :)
I saw this when searching an other bug..
main
Frank 8 years ago
parent
commit
ff8dff341f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      SerialFlashDirectory.cpp

+ 1
- 1
SerialFlashDirectory.cpp View File

@@ -239,7 +239,7 @@ static uint32_t string_length(uint32_t addr)
len++;
if (*p == 0) return len;
}
addr += len;
addr += sizeof(buf);
}
}


Loading…
Cancel
Save