X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fi2s%2Fpd.py;h=af2af4170f5bc2e72bde7378898c423cc17a5cbb;hp=1d1a7a43e0008830e9a014ab45cc17092ed80f9e;hb=da9bcbd9f45b0153465c55ec726a0d76f6d7f01e;hpb=780770f1295b7fdeb4481eb42623bad5da1e19a7 diff --git a/decoders/i2s/pd.py b/decoders/i2s/pd.py index 1d1a7a4..af2af41 100644 --- a/decoders/i2s/pd.py +++ b/decoders/i2s/pd.py @@ -42,16 +42,16 @@ class Decoder(srd.Decoder): license = 'gplv2+' inputs = ['logic'] outputs = ['i2s'] - probes = [ + probes = ( {'id': 'sck', 'name': 'SCK', 'desc': 'Bit clock line'}, {'id': 'ws', 'name': 'WS', 'desc': 'Word select line'}, {'id': 'sd', 'name': 'SD', 'desc': 'Serial data line'}, - ] - annotations = [ - ['left', 'Left channel'], - ['right', 'Right channel'], - ['warnings', 'Warnings'], - ] + ) + annotations = ( + ('left', 'Left channel'), + ('right', 'Right channel'), + ('warnings', 'Warnings'), + ) binary = ( ('wav', 'WAV file'), )