aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-06-02 10:15:02 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2018-06-02 10:15:02 +1200
commitbfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac (patch)
treeb460b2cd4c7083cf9279bcd6fc1ef0805df93bec /src/org
parent946c14ab4d69ac4c0742178d94f254233017034a (diff)
downloadtraccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.tar.gz
traccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.tar.bz2
traccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.zip
Fix Meitrack P99G course decoding
Diffstat (limited to 'src/org')
-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 6fee0fd9f..9109323ec 100644
--- a/src/org/traccar/protocol/MeitrackProtocolDecoder.java
+++ b/src/org/traccar/protocol/MeitrackProtocolDecoder.java
@@ -395,7 +395,7 @@ public class MeitrackProtocolDecoder extends BaseProtocolDecoder {
position.setSpeed(UnitsConverter.knotsFromKph(buf.readUnsignedShort()));
break;
case 0x09:
- position.setCourse(buf.readUnsignedShort() * 0.1);
+ position.setCourse(buf.readUnsignedShort());
break;
case 0x0B:
position.setAltitude(buf.readShort());