Commit bed85e52 authored by Michał Glinka's avatar Michał Glinka

Fix meaner5 dropping unused msgs

+ all msgs were cleared on every loop cycle so no unusued msgs could be
used again
+ still requires better unit tests, as it was supposedly covered
parent 807b9892
......@@ -92,8 +92,8 @@ class Meaner5:
def loop(self):
now = self.time_source.time()
next_probe_time = self.calculate_first_probe_time(now)
while not interrupt_caught:
next_save_time = self.calculate_save_time(next_probe_time)
now = self.time_source.time()
if next_save_time < now:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment