X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmiller%2Fpd.py;h=33214b14f600833ac49032eddd2f2c03867b467a;hb=9a41127e073e47684bf44915618961496d759927;hp=9a4032ed405152cf7a45fc598aac223d7a0fa4bf;hpb=d1de22c0b9ef3158f41fab1b8190cd5d5f79771b;p=libsigrokdecode.git diff --git a/decoders/miller/pd.py b/decoders/miller/pd.py index 9a4032e..33214b1 100644 --- a/decoders/miller/pd.py +++ b/decoders/miller/pd.py @@ -38,7 +38,8 @@ 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'}, ) @@ -50,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'), )