diff options
author | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-21 22:34:41 -0500 |
---|---|---|
committer | jon-stumpf <jon.stumpf@gmail.com> | 2017-02-21 22:34:41 -0500 |
commit | 97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885 (patch) | |
tree | a17fc2cb1968ea004a01e126eb2aaffc07630297 /src/org/traccar/protocol | |
parent | 360889705fd6db50c302c40afeeca4ca93e9d780 (diff) | |
download | trackermap-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.java | 2 |
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()); |