mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-10-05 18:11:21 -04:00
fix position overide problem with fixedPosition nodes thx @havealoha
This commit is contained in:
1 parent
b2ed20546a
commit
c74ee428ed
1 file changed
+5
@@ -1031,6 +1031,11 @@ class MeshService : Service(), Logging {
|
||||
desiredInterval = 0
|
||||
}
|
||||
|
||||
if (prefs.fixedPosition) {
|
||||
info("Node has fixed position, therefore not overriding position")
|
||||
desiredInterval = 0
|
||||
}
|
||||
|
||||
if (desiredInterval != 0L) {
|
||||
info("desired GPS assistance interval $desiredInterval")
|
||||
startLocationRequests(desiredInterval)
|
||||
|
||||
Reference in new issue
Block a user