diff options
author | jcardus <joaquim_cardeira@hotmail.com> | 2024-06-30 04:24:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-30 04:24:30 +0100 |
commit | 836f62d1f58af68d98d3815a67ed82df711c2871 (patch) | |
tree | 53fa20a06b1752258623828378cbb214b031cc9e | |
parent | 3be24b6d48ab25b6bac711be2fd124b50505fa65 (diff) | |
download | trackermap-server-836f62d1f58af68d98d3815a67ed82df711c2871.tar.gz trackermap-server-836f62d1f58af68d98d3815a67ed82df711c2871.tar.bz2 trackermap-server-836f62d1f58af68d98d3815a67ed82df711c2871.zip |
Actualizar HuabaoProtocolDecoder.java
Co-authored-by: Anton Tananaev <anton.tananaev@gmail.com>
-rw-r--r-- | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java index f7145c86a..b1b065780 100644 --- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java @@ -789,7 +789,7 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { default: } } - if (length > 5) { + if (length >= 6) { position.set(Position.KEY_BATTERY_LEVEL, buf.readUnsignedByte()); } break; |