mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-21 18:22:32 +00:00
Remove gps_attempt_time and use broadcast interval instead (#3064)
This commit is contained in:
@@ -179,9 +179,6 @@ extern NodeDB nodeDB;
|
||||
prefs.gps_update_interval = oneday
|
||||
|
||||
prefs.is_power_saving = True
|
||||
|
||||
# allow up to five minutes for each new GPS lock attempt
|
||||
prefs.gps_attempt_time = 300
|
||||
*/
|
||||
|
||||
// Our delay functions check for this for times that should never expire
|
||||
@@ -192,7 +189,6 @@ extern NodeDB nodeDB;
|
||||
|
||||
#define ONE_DAY 24 * 60 * 60
|
||||
|
||||
#define default_gps_attempt_time IF_ROUTER(5 * 60, 15 * 60)
|
||||
#define default_gps_update_interval IF_ROUTER(ONE_DAY, 2 * 60)
|
||||
#define default_broadcast_interval_secs IF_ROUTER(ONE_DAY / 2, 15 * 60)
|
||||
#define default_wait_bluetooth_secs IF_ROUTER(1, 60)
|
||||
|
||||
Reference in New Issue
Block a user