summaryrefslogtreecommitdiff
path: root/decoders/transitioncounter.py
diff options
context:
space:
mode:
Diffstat (limited to 'decoders/transitioncounter.py')
-rw-r--r--decoders/transitioncounter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py
index 2ad3f52..3946d4b 100644
--- a/decoders/transitioncounter.py
+++ b/decoders/transitioncounter.py
@@ -30,6 +30,7 @@ def sampleiter(data, unitsize):
yield(Sample(data[i:i+unitsize]))
class Decoder():
+ id = 'transitioncounter'
name = 'Transition counter'
longname = '...'
desc = 'Counts rising/falling edges in the signal.'
@@ -109,3 +110,5 @@ class Decoder():
import sigrok
+sigrok.register(Decoder)
+