forked from M-Labs/artiq
1
0
Fork 0

coredevice/analyzer: remove zero-timestamp msg filtering (now unnecessary)

This commit is contained in:
Sebastien Bourdeauducq 2015-12-21 11:15:58 +08:00
parent d1a5ec27b1
commit e87436fc03
1 changed files with 0 additions and 1 deletions

View File

@ -185,7 +185,6 @@ def messages_to_vcd(filename, devices, messages):
channel_handlers = create_channel_handlers(vcd_manager, devices) channel_handlers = create_channel_handlers(vcd_manager, devices)
vcd_manager.set_time(0) vcd_manager.set_time(0)
messages = [m for m in messages if get_message_time(m)] # TODO: remove this hack
messages = sorted(messages, key=get_message_time) messages = sorted(messages, key=get_message_time)
if messages: if messages:
start_time = get_message_time(messages[0]) start_time = get_message_time(messages[0])