]> sigrok.org Git - libsigrokdecode.git/commitdiff
pjon: use underscore in input/output names for stacked decoders
authorGerhard Sittig <redacted>
Thu, 2 Jul 2020 17:11:31 +0000 (19:11 +0200)
committerGerhard Sittig <redacted>
Thu, 2 Jul 2020 17:11:31 +0000 (19:11 +0200)
Rename 'pjon-link' to 'pjon_link' for consistency with other decoders.

decoders/pjdl/pd.py
decoders/pjon/pd.py

index 2d4fb0da2fd9a38505849c62d8bf13e3ff762adc..5a61a2f86a7570f184f2bc5a2683d61c006f323f 100644 (file)
@@ -119,7 +119,7 @@ class Decoder(srd.Decoder):
     desc = 'PJDL, a single wire serial link layer for PJON.'
     license = 'gplv2+'
     inputs = ['logic']
-    outputs = ['pjon-link']
+    outputs = ['pjon_link']
     tags = ['Embedded']
     channels = (
         {'id': 'data' , 'name': 'DATA', 'desc': 'Single wire data'},
index cf03ef635a4a125440da26ab613493a5c5834c1d..ac18e402030b3565887641ffe464f017b110bbfc 100644 (file)
@@ -77,7 +77,7 @@ class Decoder(srd.Decoder):
     longname = 'PJON'
     desc = 'The PJON protocol.'
     license = 'gplv2+'
-    inputs = ['pjon-link']
+    inputs = ['pjon_link']
     outputs = []
     tags = ['Embedded']
     annotations = (