Ce site fonctionne mieux avec JavaScript.
Accueil
Explorateur
Aide
Connexion
GPS
/
gpstracker-firmware
miroir de
https://github.com/blemasle/gpstracker-firmware.git
Suivre
1
Ajouter aux favoris
0
Bifurcation
0
Code
Tickets
0
Versions
8
Wiki
Activité
Parcourir la source
Added reserved space is the case where network backup is disabled
tags/v1.2.0
Bertrand Lemasle
il y a 6 ans
Parent
25bad44a0a
révision
0bc78bea88
2 fichiers modifiés
avec
4 ajouts
et
0 suppressions
Vue séparée
Option de Diff
Voir les Statistiques
Télécharger le Fichier Patch
Télécharger le Fichier des Différences
+2
-0
GpsTracker/Config.cpp
+2
-0
GpsTracker/Config.h
+ 2
- 0
GpsTracker/Config.cpp
Voir le fichier
@@ -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
Voir le fichier
@@ -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
Écrire
Aperçu
Chargement…
Annuler
Enregistrer