aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/test-generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-generator.py b/tools/test-generator.py
index eb50d2600..d49b98744 100755
--- a/tools/test-generator.py
+++ b/tools/test-generator.py
@@ -74,7 +74,7 @@ while True:
speed = device_speed if (index % len(points)) != 0 else 0
alarm = (index % 10) == 0
battery = random.randint(0, 100)
- ignition = (index % len(points)) != 0
+ ignition = (index / 10 % 2) != 0
accuracy = 100 if (index % 10) == 0 else 0
rpm = random.randint(500, 4000)
fuel = random.randint(0, 80)