diff options
Diffstat (limited to 'decoders/pca9571/pd.py')
-rw-r--r-- | decoders/pca9571/pd.py | 4 |
1 files changed, 2 insertions, 2 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): |