diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2019-03-16 18:46:01 +0100 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2019-03-16 18:46:01 +0100 |
commit | 2787cf2abc0187679e87d3735ca3e64c2a1a91c8 (patch) | |
tree | 8baddf2048d8383a257284eabd238f7f4397568f /decoders/counter | |
parent | 2b46b01c72c06683b3130647affe92c425d573b5 (diff) | |
download | libsigrokdecode-2787cf2abc0187679e87d3735ca3e64c2a1a91c8.tar.gz libsigrokdecode-2787cf2abc0187679e87d3735ca3e64c2a1a91c8.zip |
decoders: Various cosmetic/consistency/typo fixes.
Diffstat (limited to 'decoders/counter')
-rw-r--r-- | decoders/counter/__init__.py | 6 | ||||
-rw-r--r-- | decoders/counter/pd.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/decoders/counter/__init__.py b/decoders/counter/__init__.py index e731311..505148d 100644 --- a/decoders/counter/__init__.py +++ b/decoders/counter/__init__.py @@ -18,11 +18,11 @@ ## ''' -This PD is a simple counter. +This decoder is a simple edge counter. It can count rising and/or falling edges, provides an optional reset -signal. It can also divide the count to e.g. count the numger of -fixed length words (where a word corresponds to e.g. 9 clock edges). +signal. It can also divide the count to e.g. count the number of +fixed-length words (where a word corresponds to e.g. 9 clock edges). ''' from .pd import Decoder diff --git a/decoders/counter/pd.py b/decoders/counter/pd.py index 93ec105..f1134bd 100644 --- a/decoders/counter/pd.py +++ b/decoders/counter/pd.py @@ -27,7 +27,7 @@ class Decoder(srd.Decoder): id = 'counter' name = 'Counter' longname = 'Edge counter' - desc = 'Count number of edges.' + desc = 'Count the number of edges in a signal.' license = 'gplv2+' inputs = ['logic'] outputs = [] |