waveform: change log channel update

This commit is contained in:
Simon Renblad 2024-01-22 14:40:51 +08:00 committed by Sébastien Bourdeauducq
parent 12a44fad3c
commit 5036230ff3
1 changed files with 1 additions and 2 deletions

View File

@ -178,8 +178,7 @@ class WaveformDock(QtWidgets.QDockWidget):
decoded_dump = comm_analyzer.decode_dump(dump)
waveform_data = comm_analyzer.decoded_dump_to_waveform_data(self._ddb, decoded_dump)
self._waveform_data.update(waveform_data)
for log in self._waveform_data['logs']:
self._channel_model[log] = (0, WaveformType.LOG)
self._channel_model.update(self._waveform_data['logs'])
async def load_trace(self):
try: