diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-19 09:43:52 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-03-19 09:43:52 +1300 |
commit | 222196c9da6644bf49ab125017b5ba9b5d99a443 (patch) | |
tree | 96fd6f3a137718fea164faf2b86aae39972c6815 /src/org/traccar | |
parent | faeaad5466b0acb0d23a25f78e3c4ab0ec56a401 (diff) | |
download | trackermap-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')
-rw-r--r-- | src/org/traccar/protocol/GlobalSatProtocolDecoder.java | 2 |
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 |