aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/traccar/protocol/UproProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
index 1167f568c..915f5adfe 100644
--- a/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/UproProtocolDecoder.java
@@ -311,8 +311,8 @@ public class UproProtocolDecoder extends BaseProtocolDecoder {
}
break;
case 'd':
- position.set(Position.PREFIX_ADC + 1, Integer.parseInt(data.
- toString(StandardCharsets.US_ASCII))/100.0);
+ position.set(Position.PREFIX_ADC + 1,
+ (Integer.parseInt(data.toString(StandardCharsets.US_ASCII)) / 100.0));
break;
default:
break;