diff options
author | Anton Tananaev <anton@traccar.org> | 2023-10-30 07:39:56 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-10-30 07:39:56 -0700 |
commit | ecd06b48972f6f7390c4b133e1244a7f8f61f844 (patch) | |
tree | 8123d439edfab20821e8027cc9557bfb90ad97c6 /src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java | |
parent | 1db5f2aac51279c65ff2b983923452c6f4bad4e9 (diff) | |
download | trackermap-server-ecd06b48972f6f7390c4b133e1244a7f8f61f844.tar.gz trackermap-server-ecd06b48972f6f7390c4b133e1244a7f8f61f844.tar.bz2 trackermap-server-ecd06b48972f6f7390c4b133e1244a7f8f61f844.zip |
OBD speed in km/h units
Diffstat (limited to 'src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java')
-rw-r--r-- | src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java b/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java index edcb3f535..11f9e0654 100644 --- a/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/Xt2400ProtocolDecoder.java @@ -177,7 +177,7 @@ public class Xt2400ProtocolDecoder extends BaseProtocolDecoder { position.set(Position.KEY_POWER, buf.readUnsignedByte() * 0.1); break; case 0x57: - position.set(Position.KEY_OBD_SPEED, UnitsConverter.knotsFromKph(buf.readUnsignedShort())); + position.set(Position.KEY_OBD_SPEED, buf.readUnsignedShort()); break; case 0x65: position.set(Position.KEY_VIN, buf.readSlice(17).toString(StandardCharsets.US_ASCII)); |