aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorYuriy Piskarev <yuriy.piskarev@gmail.com>2022-03-28 22:00:23 +0300
committerYuriy Piskarev <yuriy.piskarev@gmail.com>2022-03-28 22:00:23 +0300
commitc4f36004c11306130f17be2f271d8e95ddf87ffc (patch)
tree9e5dcede6d9a6a422bb465aa109b74a5749a5987 /src/main
parent3a4757af42f4a7382b1b70cf4768023152238b32 (diff)
downloadtrackermap-server-c4f36004c11306130f17be2f271d8e95ddf87ffc.tar.gz
trackermap-server-c4f36004c11306130f17be2f271d8e95ddf87ffc.tar.bz2
trackermap-server-c4f36004c11306130f17be2f271d8e95ddf87ffc.zip
- use key KEY_HOURS;
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
index 37729236e..7d6991a2f 100644
--- a/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/NavtelecomProtocolDecoder.java
@@ -269,7 +269,7 @@ public class NavtelecomProtocolDecoder extends BaseProtocolDecoder {
position.set("freq" + (j + 2 - 35), buf.readUnsignedShortLE());
break;
case 37:
- position.set("engine_hours", buf.readUnsignedIntLE());
+ position.set(Position.KEY_HOURS, buf.readUnsignedIntLE());
break;
case 38:
case 39: