diff options
author | jcardus <joaquim_cardeira@hotmail.com> | 2024-06-30 04:34:25 +0100 |
---|---|---|
committer | jcardus <joaquim_cardeira@hotmail.com> | 2024-06-30 04:34:25 +0100 |
commit | be3180dce3889e201340d1542df46288191ee8f5 (patch) | |
tree | f017123415dc084299f8f2462a7d2356f60601dd /src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | |
parent | 836f62d1f58af68d98d3815a67ed82df711c2871 (diff) | |
download | trackermap-server-be3180dce3889e201340d1542df46288191ee8f5.tar.gz trackermap-server-be3180dce3889e201340d1542df46288191ee8f5.tar.bz2 trackermap-server-be3180dce3889e201340d1542df46288191ee8f5.zip |
don't store false for KEY_CHARGE
Diffstat (limited to 'src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java index b1b065780..8afe04d0f 100644 --- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java @@ -780,9 +780,6 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder { if (length >= 5) { short batteryStatus = buf.readUnsignedByte(); switch (batteryStatus) { - case 1: - position.set(Position.KEY_CHARGE, false); - break; case 2: case 3: position.set(Position.KEY_CHARGE, true); |