aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-03-23 00:55:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-03-23 09:56:32 +1300
commitacc6a57605c81e9bb4c897b3da95aa8c875237f8 (patch)
tree37b280511eda9fe9e7f49e63430944e321038f1b /src
parentd3c4ba390b7cd3358c24605ee774e00ed64fa96b (diff)
downloadtrackermap-server-acc6a57605c81e9bb4c897b3da95aa8c875237f8.tar.gz
trackermap-server-acc6a57605c81e9bb4c897b3da95aa8c875237f8.tar.bz2
trackermap-server-acc6a57605c81e9bb4c897b3da95aa8c875237f8.zip
Fix Meitrack taximeter decoding
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MeitrackProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MeitrackProtocolDecoder.java b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
index 3a1885d6f..6fee0fd9f 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -256,7 +256,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
if (values.length > 5 && !values[5].isEmpty()) {
String[] data = values[5].split("\\|");
- boolean started = data[0].charAt(0) == '0';
+ boolean started = data[0].charAt(1) == '0';
position.set("taximeterOn", started);
position.set("taximeterStart", data[1]);
if (data.length > 2) {