forked from M-Labs/artiq
1
0
Fork 0

comm_analyzer: change usage of logs field

This commit is contained in:
Simon Renblad 2024-01-17 16:46:15 +08:00 committed by Sébastien Bourdeauducq
parent 096664c1ba
commit 12a44fad3c
1 changed files with 2 additions and 3 deletions

View File

@ -260,8 +260,7 @@ class WaveformManager:
def get_channel(self, name, width, ty):
if ty == WaveformType.LOG:
data = self.trace["logs"][self.current_scope + name] = list()
else:
self.trace["logs"][self.current_scope + name] = (width, ty)
data = self.trace["data"][self.current_scope + name] = list()
channel = WaveformChannel(data, self.current_time)
self.channels.append(channel)