aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-15 06:05:03 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-15 06:05:03 +1300
commit9863a0a0c9e3f796679f0fda3ab1048a3bac2475 (patch)
treeabc14c8b665807d1237830b688a01972e2a1bc8c /src
parent7c7002e3b001b9e4f8f9a00f9a14dff87b5c9862 (diff)
downloadtrackermap-server-9863a0a0c9e3f796679f0fda3ab1048a3bac2475.tar.gz
trackermap-server-9863a0a0c9e3f796679f0fda3ab1048a3bac2475.tar.bz2
trackermap-server-9863a0a0c9e3f796679f0fda3ab1048a3bac2475.zip
Fix Watch pressure decoding
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WatchProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/WatchProtocolDecoder.java b/src/org/traccar/protocol/WatchProtocolDecoder.java
index 325f2efd9..c57279296 100644
--- a/src/org/traccar/protocol/WatchProtocolDecoder.java
+++ b/src/org/traccar/protocol/WatchProtocolDecoder.java
@@ -251,8 +251,8 @@ public class WatchProtocolDecoder extends BaseProtocolDecoder {
int valueIndex = 0;
if (type.equals("bphrt")) {
- position.set("pressureLow", values[valueIndex++]);
position.set("pressureHigh", values[valueIndex++]);
+ position.set("pressureLow", values[valueIndex++]);
}
position.set("pulse", values[valueIndex]);