aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatjaž Črnko <m.crnko@txt.si>2023-06-21 12:08:23 +0200
committerMatjaž Črnko <m.crnko@txt.si>2023-06-21 12:08:23 +0200
commit149db397ce7bbf60834260a7585366e515c8de24 (patch)
treeefbc2cc38ad2e87d3bf15154fbbb1c06455c6ee9 /src
parentb8e9d39d711c0d9f2af26aa90bfb167af364a8d3 (diff)
downloadtrackermap-server-149db397ce7bbf60834260a7585366e515c8de24.tar.gz
trackermap-server-149db397ce7bbf60834260a7585366e515c8de24.tar.bz2
trackermap-server-149db397ce7bbf60834260a7585366e515c8de24.zip
Ruptela Decoder - power factor standardization
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/RuptelaProtocolDecoder.java2
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);