From 97fdf1bbf9f1595b22c9cb8ef5f20ca900a4e885 Mon Sep 17 00:00:00 2001 From: jon-stumpf Date: Tue, 21 Feb 2017 22:34:41 -0500 Subject: Replaced position.set(Position.KEY_ACCURACY, accuracy) with position.setAccuracy(accuracy); --- src/org/traccar/protocol/CguardProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3