summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-03-24 09:37:55 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-03-24 21:54:56 +0100
commit363252b482d189c9cca596b146f5fb6ead6e3412 (patch)
treef79a1d71bbe275cbd22e578b3ea861996ef7658d /decoders/i2cfilter
parent6c36501de9d0b91a203d4943b16d0a63e1c98d9e (diff)
downloadlibsigrokdecode-363252b482d189c9cca596b146f5fb6ead6e3412.tar.gz
libsigrokdecode-363252b482d189c9cca596b146f5fb6ead6e3412.zip
srd: List 'report()' in all PDs for consistency.
Diffstat (limited to 'decoders/i2cfilter')
-rw-r--r--decoders/i2cfilter/i2cfilter.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/decoders/i2cfilter/i2cfilter.py b/decoders/i2cfilter/i2cfilter.py
index afbee65..6b3d113 100644
--- a/decoders/i2cfilter/i2cfilter.py
+++ b/decoders/i2cfilter/i2cfilter.py
@@ -43,6 +43,9 @@ class Decoder(srd.Decoder):
if self.options['direction'] not in ('', 'read', 'write'):
raise Exception('Invalid direction: expected "read" or "write"')
+ def report(self):
+ pass
+
def decode(self, ss, es, data):
try:
cmd, data = data