Selaa lähdekoodia

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 9 vuotta sitten
vanhempi
commit
ff8dff341f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      SerialFlashDirectory.cpp

+ 1
- 1
SerialFlashDirectory.cpp Näytä tiedosto

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


Loading…
Peruuta
Tallenna