X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Fmrf24j40%2Fpd.py;h=83fc254461e698b91bb14d18e7eacb378808b9d2;hp=286fa52403a4bd78d0c638cea2176a63a66de39e;hb=4539e9ca58966ce3c9cad4801b16c315e86ace01;hpb=07505b2a1a31759f90f9e7e2bfee5d75d4b1b729 diff --git a/decoders/mrf24j40/pd.py b/decoders/mrf24j40/pd.py index 286fa52..83fc254 100644 --- a/decoders/mrf24j40/pd.py +++ b/decoders/mrf24j40/pd.py @@ -14,8 +14,7 @@ ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License -## along with this program; if not, write to the Free Software -## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## along with this program; if not, see . ## import sigrokdecode as srd @@ -27,7 +26,7 @@ class Decoder(srd.Decoder): name = 'MRF24J40' longname = 'Microchip MRF24J40' desc = 'IEEE 802.15.4 2.4 GHz RF tranceiver chip.' - license = 'gplv2' + license = 'gplv2+' inputs = ['spi'] outputs = ['mrf24j40'] annotations = ( @@ -43,7 +42,7 @@ class Decoder(srd.Decoder): ('warnings', 'Warnings', (4,)), ) - def __init__(self, **kwargs): + def __init__(self): self.ss_cmd, self.es_cmd = 0, 0 self.mosi_bytes = [] self.miso_bytes = []