Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
GPS
/
gpstracker-firmware
espelhamento de
https://github.com/blemasle/gpstracker-firmware.git
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
8
Wiki
Atividade
Ver código fonte
Added reserved space is the case where network backup is disabled
tags/v1.2.0
Bertrand Lemasle
6 anos atrás
pai
25bad44a0a
commit
0bc78bea88
2 arquivos alterados
com
4 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-0
GpsTracker/Config.cpp
+2
-0
GpsTracker/Config.h
+ 2
- 0
GpsTracker/Config.cpp
Ver arquivo
@@ -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 arquivo
@@ -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
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar