diff options
author | Matjaž Črnko <m.crnko@txt.si> | 2023-06-21 12:08:23 +0200 |
---|---|---|
committer | Matjaž Črnko <m.crnko@txt.si> | 2023-06-21 12:08:23 +0200 |
commit | 149db397ce7bbf60834260a7585366e515c8de24 (patch) | |
tree | efbc2cc38ad2e87d3bf15154fbbb1c06455c6ee9 /src/main/java | |
parent | b8e9d39d711c0d9f2af26aa90bfb167af364a8d3 (diff) | |
download | trackermap-server-149db397ce7bbf60834260a7585366e515c8de24.tar.gz trackermap-server-149db397ce7bbf60834260a7585366e515c8de24.tar.bz2 trackermap-server-149db397ce7bbf60834260a7585366e515c8de24.zip |
Ruptela Decoder - power factor standardization
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java index ecb5c4204..1d627c5f3 100644 --- a/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java @@ -124,7 +124,7 @@ public class RuptelaProtocolDecoder extends BaseProtocolDecoder { position.set(Position.PREFIX_ADC + 2, readValue(buf, length, false)); break; case 29: - position.set(Position.KEY_POWER, readValue(buf, length, false)); + position.set(Position.KEY_POWER, readValue(buf, length, false) * 0.001); break; case 30: position.set(Position.KEY_BATTERY, readValue(buf, length, false) * 0.001); |