From e098aebc65868c953d85ab5bcb31dc343c5ddef6 Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 25 Aug 2016 14:16:19 +0500 Subject: A few more odometer units organization --- src/org/traccar/protocol/TaipProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol/TaipProtocolDecoder.java') diff --git a/src/org/traccar/protocol/TaipProtocolDecoder.java b/src/org/traccar/protocol/TaipProtocolDecoder.java index 811db774c..11acbd343 100644 --- a/src/org/traccar/protocol/TaipProtocolDecoder.java +++ b/src/org/traccar/protocol/TaipProtocolDecoder.java @@ -154,7 +154,7 @@ public class TaipProtocolDecoder extends BaseProtocolDecoder { break; case "vo": - position.set(Position.KEY_ODOMETER, value); + position.set(Position.KEY_ODOMETER, Long.parseLong(value)); break; default: -- cgit v1.2.3