diff options
author | Anton Tananaev <anton@traccar.org> | 2023-02-18 13:56:32 -0800 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-02-18 13:56:32 -0800 |
commit | 8ae0436e5edb76243e59ee6e9b2c1a6132fd9464 (patch) | |
tree | b85665e339876d3e8d5931be11188bffa7e0c7b3 /src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | |
parent | ec2b7b64a83aa1c3dcd0cd69c1ae7b2d0d8a7864 (diff) | |
download | trackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.tar.gz trackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.tar.bz2 trackermap-server-8ae0436e5edb76243e59ee6e9b2c1a6132fd9464.zip |
Fix Queclink GL53MG decoding
Diffstat (limited to 'src/main/java/org/traccar/protocol/StartekProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/StartekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java index 8e3624cb5..d75da7fbd 100644 --- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java @@ -221,7 +221,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder { } } - if (parser.hasNext(6)) { + if (parser.hasNextAny(6)) { position.set(Position.KEY_RPM, parser.nextInt()); position.set(Position.KEY_ENGINE_LOAD, parser.nextInt()); position.set("airFlow", parser.nextInt()); |