X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoders%2Frgb_led_spi%2Fpd.py;h=c64bd2990a789c0ac1387d7a6d0e41cd33aa3d31;hp=c6e1032fbe08487df1431f242562289b83a40a37;hb=4539e9ca58966ce3c9cad4801b16c315e86ace01;hpb=a7c8dc5e3a2b7ad38eb03a958180f97f3059ea31 diff --git a/decoders/rgb_led_spi/pd.py b/decoders/rgb_led_spi/pd.py index c6e1032..c64bd29 100644 --- a/decoders/rgb_led_spi/pd.py +++ b/decoders/rgb_led_spi/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 @@ -26,14 +25,14 @@ class Decoder(srd.Decoder): name = 'RGB LED (SPI)' longname = 'RGB LED string decoder (SPI)' desc = 'RGB LED string protocol (RGB values clocked over SPI).' - license = 'gplv2' + license = 'gplv2+' inputs = ['spi'] outputs = ['rgb_led_spi'] annotations = ( ('rgb', 'RGB values'), ) - def __init__(self, **kwargs): + def __init__(self): self.ss_cmd, self.es_cmd = 0, 0 self.mosi_bytes = []