diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-15 11:24:36 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2021-05-15 11:24:36 -0700 |
commit | b9bcc74cf1945360dcd8dac12e2718c8f8971562 (patch) | |
tree | c9d3910f015218ad12298fc18c9a449c1de89c1e | |
parent | a7a48ccbe9bb49ed26efe997c6d00f32f88855e9 (diff) | |
download | traccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.tar.gz traccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.tar.bz2 traccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.zip |
Fix temperature decoding
-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 21b888dc8..d7a1c932f 100644 --- a/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/StartekProtocolDecoder.java @@ -156,7 +156,7 @@ public class StartekProtocolDecoder extends BaseProtocolDecoder { if (BitUtil.check(value, 15)) { convertedValue = -convertedValue; } - position.set(Position.PREFIX_TEMP + index, convertedValue * 0.01); + position.set(Position.PREFIX_TEMP + index, convertedValue * 0.1); } } |