aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-05-15 11:24:36 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-05-15 11:24:36 -0700
commitb9bcc74cf1945360dcd8dac12e2718c8f8971562 (patch)
treec9d3910f015218ad12298fc18c9a449c1de89c1e /src/main
parenta7a48ccbe9bb49ed26efe997c6d00f32f88855e9 (diff)
downloadtraccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.tar.gz
traccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.tar.bz2
traccar-server-b9bcc74cf1945360dcd8dac12e2718c8f8971562.zip
Fix temperature decoding
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/StartekProtocolDecoder.java2
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);
}
}