Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
GPS
/
gpstracker-firmware
réplica de
https://github.com/blemasle/gpstracker-firmware.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
8
Wiki
Actividad
Explorar el Código
Added reserved space is the case where network backup is disabled
tags/v1.2.0
Bertrand Lemasle
hace 6 años
padre
25bad44a0a
commit
0bc78bea88
Se han
modificado 2 ficheros
con
4 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-0
GpsTracker/Config.cpp
+2
-0
GpsTracker/Config.h
+ 2
- 0
GpsTracker/Config.cpp
Ver fichero
@@ -73,6 +73,8 @@ namespace config {
POSITIONS_CONFIG_NET_DEFAULT_APN,
POSITIONS_CONFIG_NET_DEFAULT_URL,
},
#else
"",
#endif
CONFIG_DEFAULT_BATTERY_ALERT_LEVEL1,
CONFIG_DEFAULT_BATTERY_ALERT_LEVEL2,
+ 2
- 0
GpsTracker/Config.h
Ver fichero
@@ -66,6 +66,8 @@ struct config_t {
uint16_t lastEntry; //sizeof = 2
#if BACKUP_ENABLE_NETWORK
networkConfig_t network; //sizeof = 73
#else
char reserved[73];
#endif
uint8_t alertBatteryLevel1; //sizeof = 1
uint8_t alertBatteryLevel2; //sizeof = 1
Escribir
Vista previa
Cargando…
Cancelar
Guardar