summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--decoders/avr_isp/pd.py2
-rw-r--r--decoders/ds1307/pd.py2
-rw-r--r--decoders/edid/pd.py2
-rw-r--r--decoders/i2c/pd.py2
-rw-r--r--decoders/i2cdemux/pd.py2
-rw-r--r--decoders/i2cfilter/pd.py2
-rw-r--r--decoders/i2s_dump/pd.py2
-rw-r--r--decoders/jtag/pd.py2
-rw-r--r--decoders/jtag_stm32/pd.py2
-rw-r--r--decoders/lm75/pd.py2
-rw-r--r--decoders/lpc/pd.py2
-rw-r--r--decoders/maxim_ds28ea00/pd.py2
-rw-r--r--decoders/midi/pd.py2
-rw-r--r--decoders/mlx90614/pd.py2
-rw-r--r--decoders/mx25lxx05d/pd.py2
-rw-r--r--decoders/mxc6225xu/pd.py2
-rw-r--r--decoders/nunchuk/pd.py2
-rw-r--r--decoders/onewire_network/pd.py2
-rw-r--r--decoders/pan1321/pd.py2
-rw-r--r--decoders/rtc8564/pd.py2
-rw-r--r--decoders/sdcard_spi/pd.py2
-rw-r--r--decoders/spi/pd.py2
-rw-r--r--decoders/tlc5620/pd.py2
-rw-r--r--decoders/transitioncounter/pd.py2
-rw-r--r--decoders/uart_dump/pd.py2
-rw-r--r--decoders/usb_packet/pd.py2
-rw-r--r--decoders/xfp/pd.py2
27 files changed, 27 insertions, 27 deletions
diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py
index 42f1b70..731f847 100644
--- a/decoders/avr_isp/pd.py
+++ b/decoders/avr_isp/pd.py
@@ -50,7 +50,7 @@ class Decoder(srd.Decoder):
self.cmd_ss, self.cmd_es = 0, 0
self.xx, self.yy, self.zz, self.mm = 0, 0, 0, 0
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'avr_isp')
self.out_ann = self.add(srd.OUTPUT_ANN, 'avr_isp')
diff --git a/decoders/ds1307/pd.py b/decoders/ds1307/pd.py
index 169dbc3..07bdebc 100644
--- a/decoders/ds1307/pd.py
+++ b/decoders/ds1307/pd.py
@@ -63,7 +63,7 @@ class Decoder(srd.Decoder):
self.months = -1
self.years = -1
- def start(self, metadata):
+ def start(self):
self.out_ann = self.add(srd.OUTPUT_ANN, 'ds1307')
def report(self):
diff --git a/decoders/edid/pd.py b/decoders/edid/pd.py
index 760acf3..1f621b2 100644
--- a/decoders/edid/pd.py
+++ b/decoders/edid/pd.py
@@ -100,7 +100,7 @@ class Decoder(srd.Decoder):
# Received data
self.cache = []
- def start(self, metadata):
+ def start(self):
self.out_ann = self.add(srd.OUTPUT_ANN, 'edid')
def report(self):
diff --git a/decoders/i2c/pd.py b/decoders/i2c/pd.py
index 0aed1ff..dcc27b2 100644
--- a/decoders/i2c/pd.py
+++ b/decoders/i2c/pd.py
@@ -105,7 +105,7 @@ class Decoder(srd.Decoder):
self.oldsda = 1
self.oldpins = [1, 1]
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2c')
self.out_ann = self.add(srd.OUTPUT_ANN, 'i2c')
diff --git a/decoders/i2cdemux/pd.py b/decoders/i2cdemux/pd.py
index afeaea8..b075129 100644
--- a/decoders/i2cdemux/pd.py
+++ b/decoders/i2cdemux/pd.py
@@ -42,7 +42,7 @@ class Decoder(srd.Decoder):
self.stream = -1 # Current output stream
self.streamcount = 0 # Number of created output streams
- def start(self, metadata):
+ def start(self):
self.out_proto = []
def report(self):
diff --git a/decoders/i2cfilter/pd.py b/decoders/i2cfilter/pd.py
index 4b17efa..c0f9a0b 100644
--- a/decoders/i2cfilter/pd.py
+++ b/decoders/i2cfilter/pd.py
@@ -47,7 +47,7 @@ class Decoder(srd.Decoder):
self.curdirection = None
self.packets = [] # Local cache of I2C packets
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2c')
if self.options['address'] not in range(0, 127 + 1):
raise Exception('Invalid slave (must be 0..127).')
diff --git a/decoders/i2s_dump/pd.py b/decoders/i2s_dump/pd.py
index 54aee86..bbeefbe 100644
--- a/decoders/i2s_dump/pd.py
+++ b/decoders/i2s_dump/pd.py
@@ -51,7 +51,7 @@ class Decoder(srd.Decoder):
else:
return open(filename, 'wb')
- def start(self, metadata):
+ def start(self):
# A filename of 'none' is not allowed (has special meaning). A filename
# of '-' means 'stdout'.
self.f = self.file_open(self.options['filename'])
diff --git a/decoders/jtag/pd.py b/decoders/jtag/pd.py
index b4fa420..0301d80 100644
--- a/decoders/jtag/pd.py
+++ b/decoders/jtag/pd.py
@@ -56,7 +56,7 @@ class Decoder(srd.Decoder):
self.bits_tdi = []
self.bits_tdo = []
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'jtag')
self.out_ann = self.add(srd.OUTPUT_ANN, 'jtag')
diff --git a/decoders/jtag_stm32/pd.py b/decoders/jtag_stm32/pd.py
index 14ad955..5dba787 100644
--- a/decoders/jtag_stm32/pd.py
+++ b/decoders/jtag_stm32/pd.py
@@ -140,7 +140,7 @@ class Decoder(srd.Decoder):
self.state = 'IDLE'
# self.state = 'BYPASS'
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'jtag_stm32')
self.out_ann = self.add(srd.OUTPUT_ANN, 'jtag_stm32')
diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py
index b351344..8e447b7 100644
--- a/decoders/lm75/pd.py
+++ b/decoders/lm75/pd.py
@@ -77,7 +77,7 @@ class Decoder(srd.Decoder):
self.maxtemp = 0
self.avgvalues = []
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'lm75')
self.out_ann = self.add(srd.OUTPUT_ANN, 'lm75')
diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py
index d18c044..abc161d 100644
--- a/decoders/lpc/pd.py
+++ b/decoders/lpc/pd.py
@@ -150,7 +150,7 @@ class Decoder(srd.Decoder):
self.oldpins = None
self.ss_block = self.es_block = None
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'lpc')
self.out_ann = self.add(srd.OUTPUT_ANN, 'lpc')
diff --git a/decoders/maxim_ds28ea00/pd.py b/decoders/maxim_ds28ea00/pd.py
index ff51d2c..ed020d4 100644
--- a/decoders/maxim_ds28ea00/pd.py
+++ b/decoders/maxim_ds28ea00/pd.py
@@ -64,7 +64,7 @@ class Decoder(srd.Decoder):
self.state = 'ROM'
self.rom = 0x0000000000000000
- def start(self, metadata):
+ def start(self):
self.out_ann = self.add(srd.OUTPUT_ANN, 'maxim_ds28ea00')
def report(self):
diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py
index f718632..080f2b3 100644
--- a/decoders/midi/pd.py
+++ b/decoders/midi/pd.py
@@ -51,7 +51,7 @@ class Decoder(srd.Decoder):
self.ss_block = None
self.es_block = None
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'midi')
self.out_ann = self.add(srd.OUTPUT_ANN, 'midi')
diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py
index 3cd2dcb..c4a47c4 100644
--- a/decoders/mlx90614/pd.py
+++ b/decoders/mlx90614/pd.py
@@ -43,7 +43,7 @@ class Decoder(srd.Decoder):
self.state = 'IGNORE START REPEAT'
self.data = []
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'mlx90614')
self.out_ann = self.add(srd.OUTPUT_ANN, 'mlx90614')
diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py
index 15af222..35809f3 100644
--- a/decoders/mx25lxx05d/pd.py
+++ b/decoders/mx25lxx05d/pd.py
@@ -110,7 +110,7 @@ class Decoder(srd.Decoder):
self.addr = 0
self.data = []
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'mx25lxx05d')
self.out_ann = self.add(srd.OUTPUT_ANN, 'mx25lxx05d')
diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py
index 3ae6f8e..ca24cd5 100644
--- a/decoders/mxc6225xu/pd.py
+++ b/decoders/mxc6225xu/pd.py
@@ -82,7 +82,7 @@ class Decoder(srd.Decoder):
def __init__(self, **kwargs):
self.state = 'IDLE'
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'mxc6225xu')
self.out_ann = self.add(srd.OUTPUT_ANN, 'mxc6225xu')
diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py
index 23f1e85..b272338 100644
--- a/decoders/nunchuk/pd.py
+++ b/decoders/nunchuk/pd.py
@@ -47,7 +47,7 @@ class Decoder(srd.Decoder):
self.reg = 0x00
self.init_seq = []
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'nunchuk')
self.out_ann = self.add(srd.OUTPUT_ANN, 'nunchuk')
diff --git a/decoders/onewire_network/pd.py b/decoders/onewire_network/pd.py
index 813c595..6db95ec 100644
--- a/decoders/onewire_network/pd.py
+++ b/decoders/onewire_network/pd.py
@@ -61,7 +61,7 @@ class Decoder(srd.Decoder):
self.data = 0x0
self.rom = 0x0000000000000000
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'onewire_network')
self.out_ann = self.add(srd.OUTPUT_ANN, 'onewire_network')
diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py
index 4d56e58..9b5cf15 100644
--- a/decoders/pan1321/pd.py
+++ b/decoders/pan1321/pd.py
@@ -48,7 +48,7 @@ class Decoder(srd.Decoder):
self.cmd = ['', '']
self.ss_block = None
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'pan1321')
self.out_ann = self.add(srd.OUTPUT_ANN, 'pan1321')
diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py
index 16de6b6..5709f62 100644
--- a/decoders/rtc8564/pd.py
+++ b/decoders/rtc8564/pd.py
@@ -55,7 +55,7 @@ class Decoder(srd.Decoder):
self.months = -1
self.years = -1
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'rtc8564')
self.out_ann = self.add(srd.OUTPUT_ANN, 'rtc8564')
diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py
index 9f606d2..cc286fa 100644
--- a/decoders/sdcard_spi/pd.py
+++ b/decoders/sdcard_spi/pd.py
@@ -97,7 +97,7 @@ class Decoder(srd.Decoder):
self.blocklen = 0
self.read_buf = []
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'sdcard_spi')
self.out_ann = self.add(srd.OUTPUT_ANN, 'sdcard_spi')
diff --git a/decoders/spi/pd.py b/decoders/spi/pd.py
index 7e4a1e5..d18af85 100644
--- a/decoders/spi/pd.py
+++ b/decoders/spi/pd.py
@@ -100,7 +100,7 @@ class Decoder(srd.Decoder):
self.oldpins = None
self.state = 'IDLE'
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'spi')
self.out_ann = self.add(srd.OUTPUT_ANN, 'spi')
diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py
index 61f6028..4e9a3b7 100644
--- a/decoders/tlc5620/pd.py
+++ b/decoders/tlc5620/pd.py
@@ -64,7 +64,7 @@ class Decoder(srd.Decoder):
self.ss_value = self.es_value = 0
self.dac_select = self.gain = self.dac_value = None
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'tlc5620')
self.out_ann = self.add(srd.OUTPUT_ANN, 'tlc5620')
diff --git a/decoders/transitioncounter/pd.py b/decoders/transitioncounter/pd.py
index 3451f7e..00fbfcf 100644
--- a/decoders/transitioncounter/pd.py
+++ b/decoders/transitioncounter/pd.py
@@ -42,7 +42,7 @@ class Decoder(srd.Decoder):
self.channels = -1
self.lastsample = None
- def start(self, metadata):
+ def start(self):
# self.out_proto = self.add(srd.OUTPUT_PROTO, 'transitioncounter')
self.out_ann = self.add(srd.OUTPUT_ANN, 'transitioncounter')
diff --git a/decoders/uart_dump/pd.py b/decoders/uart_dump/pd.py
index f3b10ec..ebbcb33 100644
--- a/decoders/uart_dump/pd.py
+++ b/decoders/uart_dump/pd.py
@@ -58,7 +58,7 @@ class Decoder(srd.Decoder):
else:
return open(filename, 'w')
- def start(self, metadata):
+ def start(self):
# The user can specify 'filename' (gets both RX and TX data), and/or
# 'filename_rx' (for RX data only), and/or 'filename_tx', respectively.
diff --git a/decoders/usb_packet/pd.py b/decoders/usb_packet/pd.py
index 1a814b0..d799cd5 100644
--- a/decoders/usb_packet/pd.py
+++ b/decoders/usb_packet/pd.py
@@ -175,7 +175,7 @@ class Decoder(srd.Decoder):
def putp(self, data):
self.put(self.ss_packet, self.es_packet, self.out_ann, data)
- def start(self, metadata):
+ def start(self):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'usb_packet')
self.out_ann = self.add(srd.OUTPUT_ANN, 'usb_packet')
diff --git a/decoders/xfp/pd.py b/decoders/xfp/pd.py
index 3d204ad..abbf626 100644
--- a/decoders/xfp/pd.py
+++ b/decoders/xfp/pd.py
@@ -276,7 +276,7 @@ class Decoder(srd.Decoder):
255: self.maybe_ascii,
}
- def start(self, metadata):
+ def start(self):
self.out_ann = self.add(srd.OUTPUT_ANN, 'xfp')
def decode(self, ss, es, data):