comm_analyzer: add missing set_end_time call

This commit is contained in:
Simon Renblad 2024-01-15 10:58:44 +08:00
parent 56660d6da2
commit cfa0a445c9

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")