summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine.c b/engine.c
index 4410a54..0d92b50 100644
--- a/engine.c
+++ b/engine.c
@@ -126,6 +126,10 @@ engine_handle_point(LPoint * p, uint32_t monotime)
126 } 126 }
127 } 127 }
128 128
129 /* Avoid miss-fires, check if offset is in range -5% - +105% */
130 if (offs>68812 || offs<-3276)
131 return;
132
129 if (saite == -1) 133 if (saite == -1)
130 return; 134 return;
131 135