aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-12-12 11:54:11 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2020-12-12 11:54:11 -0800
commit15166105306f22873c942b5f0bed08302e82dcd1 (patch)
treeccfcf11f20ea5c832ce25d688e56dff051bd1d0a /src/main/java
parenteaa6dfb100fac8e2b46075b94a55ebadb7cab530 (diff)
downloadtraccar-server-15166105306f22873c942b5f0bed08302e82dcd1.tar.gz
traccar-server-15166105306f22873c942b5f0bed08302e82dcd1.tar.bz2
traccar-server-15166105306f22873c942b5f0bed08302e82dcd1.zip
Split temperature values
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
index 0ea02b157..692e737be 100644
--- a/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/TeltonikaProtocolDecoder.java
@@ -240,7 +240,7 @@ public class TeltonikaProtocolDecoder extends BaseProtocolDecoder {
case 72:
case 73:
case 74:
- position.set(Position.PREFIX_TEMP + (id - 71), readValue(buf, length, true) * 0.1);
+ position.set(Position.PREFIX_TEMP + (id - 71 + 4), readValue(buf, length, true) * 0.1);
break;
case 78:
long driverUniqueId = readValue(buf, length, false);