diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-02 10:15:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-06-02 10:15:02 +1200 |
commit | bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac (patch) | |
tree | b460b2cd4c7083cf9279bcd6fc1ef0805df93bec | |
parent | 946c14ab4d69ac4c0742178d94f254233017034a (diff) | |
download | traccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.tar.gz traccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.tar.bz2 traccar-server-bfc7cb8efcaa9f9ec7bf24fd528b370a10c4f0ac.zip |
Fix Meitrack P99G course decoding
-rw-r--r-- | src/org/traccar/protocol/MeitrackProtocolDecoder.java | 2 |
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()); |