mirror of https://github.com/m-labs/artiq.git
comm_analyzer: change usage of logs field
This commit is contained in:
parent
096664c1ba
commit
12a44fad3c
|
@ -260,9 +260,8 @@ class WaveformManager:
|
|||
|
||||
def get_channel(self, name, width, ty):
|
||||
if ty == WaveformType.LOG:
|
||||
data = self.trace["logs"][self.current_scope + name] = list()
|
||||
else:
|
||||
data = self.trace["data"][self.current_scope + name] = list()
|
||||
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)
|
||||
return channel
|
||||
|
|
Loading…
Reference in New Issue