aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorIvan Muratov <binakot@gmail.com>2017-07-14 09:40:18 +0300
committerIvan Muratov <binakot@gmail.com>2017-07-14 09:40:18 +0300
commitb549521b55b03c7b8af53b2f68f761c0275e70ae (patch)
treefdbb71c58fa1d410fb5639264404aa46723117f4 /src/org
parent01ec19f81270e38451e6a8b898abb22d6a2a3994 (diff)
parent9f2f7d21fefda741cf9e3d4d43b3195902ed0a2b (diff)
downloadtrackermap-server-b549521b55b03c7b8af53b2f68f761c0275e70ae.tar.gz
trackermap-server-b549521b55b03c7b8af53b2f68f761c0275e70ae.tar.bz2
trackermap-server-b549521b55b03c7b8af53b2f68f761c0275e70ae.zip
Merge branch 'anravi4_fix'
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/Arnavi4ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java
index e2a1da29f..539f6d35c 100644
--- a/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Arnavi4ProtocolDecoder.java
@@ -78,7 +78,7 @@ public class Arnavi4ProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(buf.readUnsignedByte() * 2.0);
position.setAltitude(buf.readUnsignedByte() * 10.0);
byte satellites = buf.readByte();
- position.set(Position.KEY_SATELLITES, satellites & 0x0F + (satellites >> 4) & 0x0F); // gps + glonass
+ position.set(Position.KEY_SATELLITES, satellites & 0x0F + (satellites >> 4) & 0x0F); // gps+glonass
position.setSpeed(buf.readByte() * 1.852);
break;