Explorar el Código

Fix File creation bug

main
PaulStoffregen hace 10 años
padre
commit
b53b2910a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      SerialFlashDirectory.cpp

+ 1
- 1
SerialFlashDirectory.cpp Ver fichero

@@ -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;
}

Cargando…
Cancelar
Guardar