aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-03-19 09:43:52 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-03-19 09:43:52 +1300
commit222196c9da6644bf49ab125017b5ba9b5d99a443 (patch)
tree96fd6f3a137718fea164faf2b86aae39972c6815 /src/org/traccar/protocol
parentfaeaad5466b0acb0d23a25f78e3c4ab0ec56a401 (diff)
downloadtrackermap-server-222196c9da6644bf49ab125017b5ba9b5d99a443.tar.gz
trackermap-server-222196c9da6644bf49ab125017b5ba9b5d99a443.tar.bz2
trackermap-server-222196c9da6644bf49ab125017b5ba9b5d99a443.zip
Hanlde voltage battery value (fix #1120)
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/GlobalSatProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
index fefeea969..fd0c04bb4 100644
--- a/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
+++ b/src/org/traccar/protocol/GlobalSatProtocolDecoder.java
@@ -170,7 +170,7 @@ public class GlobalSatProtocolDecoder extends BaseProtocolDecoder {
position.setCourse(Double.valueOf(value));
break;
case 'N':
- extendedInfo.set("battery", Double.valueOf(value));
+ extendedInfo.set("battery", value);
break;
default:
// Unsupported