forked from M-Labs/artiq
comm_analyzer: changed usage of logs field
This commit is contained in:
parent
435af6daa6
commit
1e45d6e110
@ -260,9 +260,8 @@ class WaveformManager:
|
|||||||
|
|
||||||
def get_channel(self, name, width, ty):
|
def get_channel(self, name, width, ty):
|
||||||
if ty == WaveformType.LOG:
|
if ty == WaveformType.LOG:
|
||||||
data = self.trace["logs"][self.current_scope + name] = list()
|
self.trace["logs"][self.current_scope + name] = (width, ty)
|
||||||
else:
|
data = self.trace["data"][self.current_scope + name] = list()
|
||||||
data = self.trace["data"][self.current_scope + name] = list()
|
|
||||||
channel = WaveformChannel(data, self.current_time)
|
channel = WaveformChannel(data, self.current_time)
|
||||||
self.channels.append(channel)
|
self.channels.append(channel)
|
||||||
return channel
|
return channel
|
||||||
|
Loading…
Reference in New Issue
Block a user