aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TotemProtocolDecoder.java
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-03-04 16:37:49 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-03-04 16:37:49 -0500
commit942a6e42ab3c86b95df64f7c6d4884f4a308bff1 (patch)
treed0b852ea8af7c023a25704c0882e348e918c85ab /src/org/traccar/protocol/TotemProtocolDecoder.java
parent64b173bbd5d8eb001bcf70ad3a5b469d57e7bba7 (diff)
downloadtrackermap-server-942a6e42ab3c86b95df64f7c6d4884f4a308bff1.tar.gz
trackermap-server-942a6e42ab3c86b95df64f7c6d4884f4a308bff1.tar.bz2
trackermap-server-942a6e42ab3c86b95df64f7c6d4884f4a308bff1.zip
Replaced hardcoded "pdop" with Position.KEY_PDOP;
Diffstat (limited to 'src/org/traccar/protocol/TotemProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TotemProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java
index f36ef8143..67a1d1213 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/org/traccar/protocol/TotemProtocolDecoder.java
@@ -289,7 +289,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_SATELLITES, parser.next());
position.setCourse(parser.nextDouble());
position.setSpeed(parser.nextDouble());
- position.set("pdop", parser.next());
+ position.set(Position.KEY_PDOP, parser.next());
position.set(Position.KEY_ODOMETER, parser.nextInt() * 1000);
position.setLatitude(parser.nextCoordinate());