diff options
author | Ivan Muratov <binakot@gmail.com> | 2017-07-14 09:48:31 +0300 |
---|---|---|
committer | Ivan Muratov <binakot@gmail.com> | 2017-07-14 09:48:31 +0300 |
commit | 3493ce57f0b158855bcfaa3882b4600c80519eee (patch) | |
tree | 3d560f8660a11a9bb2cfdd15e8b258acf941bb83 /src/org | |
parent | b549521b55b03c7b8af53b2f68f761c0275e70ae (diff) | |
parent | 8684f83d352e01effbe08cacaccb264d4d368575 (diff) | |
download | trackermap-server-3493ce57f0b158855bcfaa3882b4600c80519eee.tar.gz trackermap-server-3493ce57f0b158855bcfaa3882b4600c80519eee.tar.bz2 trackermap-server-3493ce57f0b158855bcfaa3882b4600c80519eee.zip |
Merge branch 'arnavi4_hotfix'
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/protocol/Arnavi4ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java index 539f6d35c..4422ff4a6 100644 --- a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java +++ b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java @@ -79,7 +79,7 @@ public class Arnavi4ProtocolDecoder extends BaseProtocolDecoder { position.setAltitude(buf.readUnsignedByte() * 10.0); byte satellites = buf.readByte(); position.set(Position.KEY_SATELLITES, satellites & 0x0F + (satellites >> 4) & 0x0F); // gps+glonass - position.setSpeed(buf.readByte() * 1.852); + position.setSpeed(buf.readUnsignedByte() * 1.852); break; default: |