aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:34:41 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-21 22:34:41 -0500
commit97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885 (patch)
treea17fc2cb1968ea004a01e126eb2aaffc07630297 /src/org/traccar/protocol
parent360889705fd6db50c302c40afeeca4ca93e9d780 (diff)
downloadtrackermap-server-97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885.tar.gz
trackermap-server-97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885.tar.bz2
trackermap-server-97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885.zip
Replaced position.set(Position.KEY_ACCURACY, accuracy) with position.setAccuracy(accuracy);
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/CguardProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/CguardProtocolDecoder.java b/src/org/traccar/protocol/CguardProtocolDecoder.java
index 2fc3194db..0f58a24c7 100644
--- a/src/org/traccar/protocol/CguardProtocolDecoder.java
+++ b/src/org/traccar/protocol/CguardProtocolDecoder.java
@@ -73,7 +73,7 @@ public class CguardProtocolDecoder extends BaseProtocolDecoder {
position.setLongitude(parser.nextDouble());
position.setSpeed(UnitsConverter.knotsFromKph(parser.nextDouble()));
- position.set(Position.KEY_ACCURACY, parser.nextDouble());
+ position.setAccuracy(parser.nextDouble());
position.setCourse(parser.nextDouble());
position.setAltitude(parser.nextDouble());