aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/GranitProtocolDecoder.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/GranitProtocolDecoder.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/GranitProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/GranitProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GranitProtocolDecoder.java b/src/org/traccar/protocol/GranitProtocolDecoder.java
index 6e8bc24bf..7518eee1f 100644
--- a/src/org/traccar/protocol/GranitProtocolDecoder.java
+++ b/src/org/traccar/protocol/GranitProtocolDecoder.java
@@ -89,7 +89,7 @@ public class GranitProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_SATELLITES, BitUtil.from(satDel, 4));
int pdop = BitUtil.to(satDel, 4);
- position.set("pdop", pdop);
+ position.set(Position.KEY_PDOP, pdop);
int lonDegrees = buf.readUnsignedByte();
int latDegrees = buf.readUnsignedByte();