diff options
author | Anton Tananaev <anton@traccar.org> | 2022-07-08 09:21:39 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-07-08 09:21:39 -0700 |
commit | 54d7f988b449fabbbd10fb123d63502d2427b43b (patch) | |
tree | a82b07f06214fa12ecb37a5e6fe3147d10ce094a /src/main/java/org/traccar/protocol | |
parent | 30d920c2e49c4022af8590c7d200907cde16d1c9 (diff) | |
download | trackermap-server-54d7f988b449fabbbd10fb123d63502d2427b43b.tar.gz trackermap-server-54d7f988b449fabbbd10fb123d63502d2427b43b.tar.bz2 trackermap-server-54d7f988b449fabbbd10fb123d63502d2427b43b.zip |
Fix Galileo array decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol')
-rw-r--r-- | src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java index bf14d47e0..0a57087fe 100644 --- a/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/GalileoProtocolDecoder.java @@ -1,5 +1,5 @@ /* - * Copyright 2013 - 2020 Anton Tananaev (anton@traccar.org) + * Copyright 2013 - 2022 Anton Tananaev (anton@traccar.org) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -214,7 +214,6 @@ public class GalileoProtocolDecoder extends BaseProtocolDecoder { break; case 0xea: position.set("userDataArray", ByteBufUtil.hexDump(buf.readSlice(buf.readUnsignedByte()))); - position.set("userDataArray", ByteBufUtil.hexDump(buf.readSlice(buf.readUnsignedByte()))); break; default: buf.skipBytes(getTagLength(tag)); |