X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Frfm12%2Fpd.py;h=ab208237fca7240f0a2eada156a318443b4c2a42;hp=9bcbd9d8c21439c75cdf295892fb4f38ec7857dc;hb=4539e9ca58966ce3c9cad4801b16c315e86ace01;hpb=d9673085e0f35f4cf7704f340ce56f954d7beab6 diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index 9bcbd9d..ab20823 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/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 @@ -43,7 +42,7 @@ class Decoder(srd.Decoder): ('interpretation', 'Interpretation', (5,)), ) - def __init__(self, **kwargs): + def __init__(self): self.mosi_bytes, self.miso_bytes = [], [] self.mosi_bits, self.miso_bits = [], [] self.row_pos = [0, 0, 0]