aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/AutoFon45ProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/AutoFon45ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
index 1a2ebdf4a..55b4ad9dc 100644
--- a/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
+++ b/src/org/traccar/protocol/AutoFon45ProtocolDecoder.java
@@ -76,7 +76,7 @@ public class AutoFon45ProtocolDecoder extends BaseProtocolDecoder {
buf.skipBytes(2); // remaining time
- position.set(Event.KEY_TEMPERATURE, buf.readByte());
+ position.set(Event.PREFIX_TEMP + 1, buf.readByte());
buf.skipBytes(2); // timer (interval and units)
buf.readByte(); // mode