diff options
author | Thiritin <me@thiritin.com> | 2021-06-22 20:14:44 +0200 |
---|---|---|
committer | Thiritin <me@thiritin.com> | 2021-06-22 20:14:44 +0200 |
commit | 741ec70faa97305eea8d95e261af5e3f1a5d77d4 (patch) | |
tree | e4051803b4ec29afe2a9787377af6a3a2de67bab /src/main/java/org | |
parent | acc947ffd409d70dddd1ad3624210dfc3da2a1ea (diff) | |
download | trackermap-server-741ec70faa97305eea8d95e261af5e3f1a5d77d4.tar.gz trackermap-server-741ec70faa97305eea8d95e261af5e3f1a5d77d4.tar.bz2 trackermap-server-741ec70faa97305eea8d95e261af5e3f1a5d77d4.zip |
Make altitude optional
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java index 706307d89..f0ff4a4c4 100644 --- a/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java +++ b/src/main/java/org/traccar/protocol/MegastekProtocolDecoder.java @@ -246,7 +246,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder { .number("(d+.d+),") // hdop .number("(d+.d+)?,") // speed .number("(d+.d+)?,") // course - .number("(-?d+.d+),") // altitude + .number("(-?d+.d+)?,") // altitude .number("(d+.d+)?,") // odometer .number("(d+),") // mcc .number("(d+),") // mnc |