summaryrefslogtreecommitdiff
path: root/decoders
diff options
context:
space:
mode:
Diffstat (limited to 'decoders')
-rw-r--r--decoders/pca9571/pd.py4
-rw-r--r--decoders/tca6408a/pd.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/decoders/pca9571/pd.py b/decoders/pca9571/pd.py
index 6000952..8531081 100644
--- a/decoders/pca9571/pd.py
+++ b/decoders/pca9571/pd.py
@@ -23,10 +23,10 @@ NUM_OUTPUT_CHANNELS = 8
# TODO: Other I²C functions: general call / reset address, device ID address.
-def logic_channels(num_channels):
+def logic_channels(num_channels, samplerate):
l = []
for i in range(num_channels):
- l.append(tuple(['p%d' % i, 'P%d' % i, 100000]))
+ l.append(tuple(['p%d' % i, 'P%d' % i]))
return tuple(l)
class Decoder(srd.Decoder):
diff --git a/decoders/tca6408a/pd.py b/decoders/tca6408a/pd.py
index 3b0556f..fdfebed 100644
--- a/decoders/tca6408a/pd.py
+++ b/decoders/tca6408a/pd.py
@@ -26,7 +26,7 @@ NUM_OUTPUT_CHANNELS = 8
def logic_channels(num_channels):
l = []
for i in range(num_channels):
- l.append(tuple(['p%d' % i, 'P-port input/output %d' % i, 100000]))
+ l.append(tuple(['p%d' % i, 'P-port input/output %d' % i]))
return tuple(l)
class Decoder(srd.Decoder):