aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol')
-rw-r--r--src/org/traccar/protocol/AquilaProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/AquilaProtocolDecoder.java b/src/org/traccar/protocol/AquilaProtocolDecoder.java
index 60a6286e8..ad85c54c2 100644
--- a/src/org/traccar/protocol/AquilaProtocolDecoder.java
+++ b/src/org/traccar/protocol/AquilaProtocolDecoder.java
@@ -124,7 +124,7 @@ public class AquilaProtocolDecoder extends BaseProtocolDecoder {
(Integer.parseInt(parser.group(index++)) << 1) +
(Integer.parseInt(parser.group(index++)));
- if (course > 0) {
+ if (course > 0 && course <= 8) {
position.setCourse((course - 1) * 45);
}