summaryrefslogtreecommitdiff
path: root/decoders/i2s
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/i2s')
-rw-r--r--decoders/i2s/pd.py14
1 files changed, 7 insertions, 7 deletions
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'),
)