diff --git a/GpsTracker/Config.cpp b/GpsTracker/Config.cpp index 771b057..dfed77e 100644 --- a/GpsTracker/Config.cpp +++ b/GpsTracker/Config.cpp @@ -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, diff --git a/GpsTracker/Config.h b/GpsTracker/Config.h index a5fc792..5171454 100644 --- a/GpsTracker/Config.h +++ b/GpsTracker/Config.h @@ -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