diff options
author | Sanjeewa Vithanage <vithanagevms@gmail.com> | 2024-01-26 17:32:50 +0200 |
---|---|---|
committer | Sanjeewa Vithanage <vithanagevms@gmail.com> | 2024-01-26 17:32:50 +0200 |
commit | b82bacce74f38d34cbf16749ca23961eb0f8a919 (patch) | |
tree | 11fc6043a0625d078c1127191e4d438b92826755 /src/main/java/org/traccar | |
parent | e5c21c80df6310ea29209dc037ba82be5fbf441e (diff) | |
download | trackermap-server-b82bacce74f38d34cbf16749ca23961eb0f8a919.tar.gz trackermap-server-b82bacce74f38d34cbf16749ca23961eb0f8a919.tar.bz2 trackermap-server-b82bacce74f38d34cbf16749ca23961eb0f8a919.zip |
Line wrapper
Diffstat (limited to 'src/main/java/org/traccar')
-rw-r--r-- | src/main/java/org/traccar/protocol/UproProtocolDecoder.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java index debb85365..2f88d803c 100644 --- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java @@ -312,7 +312,8 @@ public class UproProtocolDecoder extends BaseProtocolDecoder { break; case 'd': if (data.readableBytes() > 3) { - position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.readSlice(5).toString(StandardCharsets.US_ASCII)) * 0.01); + position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.readSlice(5). + toString(StandardCharsets.US_ASCII)) * 0.01); } break; default: |