Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
visus
/
teensy-serial-flash
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Fix File creation bug
main
PaulStoffregen
hace 10 años
padre
ca2636e7fc
commit
b53b2910a9
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Mostrar estadísticas de diff
+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;
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar