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

+1 -1
View File
@@ -3319,7 +3319,7 @@ MyMesh::MyMesh(mesh::MainBoard &board, mesh::Radio &radio, mesh::MillisecondCloc
// GPS defaults
_prefs.gps_enabled = 0;
_prefs.gps_interval = 0;
_prefs.advert_loc_policy = ADVERT_LOC_PREFS;
_prefs.advert_loc_policy = DEFAULT_ADVERT_LOC_POLICY;
// MQTT/WiFi/timezone/radio_watchdog defaults live in /mqtt_prefs now (see applyMQTTDefaults).