From 9107c244020331de12d60f2437c8665011b7162d Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 22 May 2017 11:33:29 +0500 Subject: Organize KEY_xDOP values --- src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol/GlobalSatProtocolDecoder.java') diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java index 317a253ec..c45a937d4 100644 --- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java +++ b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java @@ -225,7 +225,7 @@ public class GlobalSatProtocolDecoder extends BaseProtocolDecoder { position.setCourse(parser.nextDouble(0)); position.set(Position.KEY_SATELLITES, parser.nextInt(0)); - position.set(Position.KEY_HDOP, parser.next()); + position.set(Position.KEY_HDOP, parser.nextDouble()); return position; } -- cgit v1.2.3