protocol translation +

This commit is contained in:
yunyaobaihong 2022-10-31 15:10:18 +08:00
parent 6da9dc3785
commit 178ce96f97

View File

@ -84,8 +84,7 @@ class Decoder(srd.Decoder):
outputs = []
tags = ['Encoding']
optional_channels = tuple(
{'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i)
#, 'idn':'dec_graycode_opt_chan_d{}'.format(i)}
{'id': 'd{}'.format(i), 'name': 'D{}'.format(i), 'desc': 'Data line {}'.format(i)}
for i in range(MAX_CHANNELS)
)
options = (