X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmiller%2Fpd.py;h=33214b14f600833ac49032eddd2f2c03867b467a;hb=819e508972da02a0dcff7f81178f0283546a9afd;hp=88798bb4b88a6ff8bcf603c1f75e1df94b7c6f1a;hpb=d6d8a8a440ea2a81e6ddde33d16bc84d01cdb432;p=libsigrokdecode.git diff --git a/decoders/miller/pd.py b/decoders/miller/pd.py index 88798bb..33214b1 100644 --- a/decoders/miller/pd.py +++ b/decoders/miller/pd.py @@ -38,7 +38,7 @@ class Decoder(srd.Decoder): desc = 'Miller encoding protocol.' license = 'gplv2+' inputs = ['logic'] - outputs = ['miller'] + outputs = [] tags = ['Encoding'] channels = ( {'id': 'data', 'name': 'Data', 'desc': 'Data signal'}, @@ -51,7 +51,7 @@ class Decoder(srd.Decoder): ('bit', 'Bit'), ('bitstring', 'Bitstring'), ) - annotation_rows = tuple((u, v, (i,)) for i, (u, v) in enumerate(annotations)) + annotation_rows = tuple((u + 's', v + 's', (i,)) for i, (u, v) in enumerate(annotations)) binary = ( ('raw', 'Raw binary'), )