From: Gerhard Sittig Date: Thu, 2 Jul 2020 17:11:31 +0000 (+0200) Subject: pjon: use underscore in input/output names for stacked decoders X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=12bbd67047b5ec024feeea2faef998336cfa043f;p=libsigrokdecode.git pjon: use underscore in input/output names for stacked decoders Rename 'pjon-link' to 'pjon_link' for consistency with other decoders. --- 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 = (