mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2026-03-24 13:34:25 +00:00
Update BackgroundServiceDelegate.mc
Amended accuracy for QUALITY_LAST_KNOWN.
This commit is contained in:
@@ -119,7 +119,7 @@ class BackgroundServiceDelegate extends System.ServiceDelegate {
|
|||||||
var accuracy = 0;
|
var accuracy = 0;
|
||||||
switch (position.accuracy) {
|
switch (position.accuracy) {
|
||||||
case Position.QUALITY_LAST_KNOWN:
|
case Position.QUALITY_LAST_KNOWN:
|
||||||
accuracy = 100;
|
accuracy = 200;
|
||||||
break;
|
break;
|
||||||
case Position.QUALITY_POOR:
|
case Position.QUALITY_POOR:
|
||||||
accuracy = 100;
|
accuracy = 100;
|
||||||
|
|||||||
Reference in New Issue
Block a user