X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=decoders%2Fmorse%2Fpd.py;h=f768b3a082da8254b154c8b3214218835a6d121d;hb=24ba9e1bdfe107e394176eda3116b714463a8437;hp=f6ff7188d4498f1232313d3fe418728e049efec1;hpb=6cbba91f23b9f9ace75b4722c9c0776b9211008d;p=libsigrokdecode.git diff --git a/decoders/morse/pd.py b/decoders/morse/pd.py index f6ff718..f768b3a 100644 --- a/decoders/morse/pd.py +++ b/decoders/morse/pd.py @@ -130,12 +130,12 @@ class Decoder(srd.Decoder): ) annotations = ( ('time', 'Time'), - ('units', 'Units'), + ('unit', 'Unit'), ('symbol', 'Symbol'), ('letter', 'Letter'), ('word', 'Word'), ) - 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)) def __init__(self): self.reset()