X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Ftdm_audio%2Fpd.py;h=6c5869bd9118bc8c4165702caef0529f5fba219d;hb=dff91b50165f92f6ef24546b668a9e2162bf1b6b;hp=9c57d7a832b86c2acdbf238183f743064adb791b;hpb=a276d9d65402e7dd766203dac7e5ac9ed00a0c96;p=libsigrokdecode.git diff --git a/decoders/tdm_audio/pd.py b/decoders/tdm_audio/pd.py index 9c57d7a..6c5869b 100644 --- a/decoders/tdm_audio/pd.py +++ b/decoders/tdm_audio/pd.py @@ -42,6 +42,7 @@ class Decoder(srd.Decoder): {'id': 'edge', 'desc': 'Clock edge to sample on', 'default': 'rising', 'values': ('rising', 'falling') } ) annotations = tuple(('ch%d' % i, 'Ch%d' % i) for i in range(MAX_CHANNELS)) + annotation_rows = tuple(('ch%d' % i, 'Ch%d' % i, (i,)) for i in range(MAX_CHANNELS)) def __init__(self): self.reset()