diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-02 19:11:31 +0200 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2020-07-02 19:11:31 +0200 |
commit | 12bbd67047b5ec024feeea2faef998336cfa043f (patch) | |
tree | 4af91696dc060f8e3d3c87a12cde7523b47f30aa | |
parent | 65a1134ade0ca1cd1f2789819a239cee3ca90b21 (diff) | |
download | libsigrokdecode-12bbd67047b5ec024feeea2faef998336cfa043f.tar.gz libsigrokdecode-12bbd67047b5ec024feeea2faef998336cfa043f.zip |
pjon: use underscore in input/output names for stacked decoders
Rename 'pjon-link' to 'pjon_link' for consistency with other decoders.
-rw-r--r-- | decoders/pjdl/pd.py | 2 | ||||
-rw-r--r-- | decoders/pjon/pd.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/decoders/pjdl/pd.py b/decoders/pjdl/pd.py index 2d4fb0d..5a61a2f 100644 --- a/decoders/pjdl/pd.py +++ b/decoders/pjdl/pd.py @@ -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'}, diff --git a/decoders/pjon/pd.py b/decoders/pjon/pd.py index cf03ef6..ac18e40 100644 --- a/decoders/pjon/pd.py +++ b/decoders/pjon/pd.py @@ -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 = ( |