comm_analyzer: add set_end_time call

This commit is contained in:
Simon Renblad 2024-01-15 11:00:24 +08:00
parent 3af4c9d517
commit 2788b724e7

View File

@ -686,6 +686,7 @@ def decoded_dump_to_target(manager, devices, dump, uniform_interval):
if isinstance(dump.messages[-1], StoppedMessage):
m = dump.messages[-1]
end_time = get_message_time(m)
manager.set_end_time(end_time)
messages = dump.messages[:-1]
else:
logger.warning("StoppedMessage missing")