fix: default advert location to stored preferences

This commit is contained in:
mikecarper committed 2026-08-25 23:47:40 -07:00
1 parent f1515ef1c6
commit b7e0445451
7 files changed
+33 -5

No files matched your search

+3 -1
View File
@@ -3239,7 +3239,9 @@ sleep, this command schedules a sync and wakes it; after `gps off`, it reports
- `share`: share gps location (from SensorManager)
- `prefs`: location stored in node's lat and lon settings
**Default:** `prefs`
**Default:** `prefs` on every repeater, room-server, and sensor build that uses
the common advert policy. A previously saved `none`, `share`, or `prefs` choice
still overrides the first-boot default after an update.
---
+4
View File
@@ -119,6 +119,10 @@ Policies:
- `share`: use the live/shared sensor manager location
- `prefs`: use the stored node latitude and longitude preferences
`prefs` is the first-boot default for every repeater, room-server, and sensor
build. Firmware updates retain an explicitly saved policy from the existing
preferences filesystem.
Telemetry GPS can be fresh while advert location is fixed or disabled, depending
on this policy.