diff options
-rw-r--r-- | decoders/edid/edid.py | 3 | ||||
-rw-r--r-- | decoders/i2cfilter/i2cfilter.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/decoders/edid/edid.py b/decoders/edid/edid.py index b4b5f84..c11d41a 100644 --- a/decoders/edid/edid.py +++ b/decoders/edid/edid.py @@ -101,6 +101,9 @@ class Decoder(srd.Decoder): def start(self, metadata): self.out_ann = self.add(srd.OUTPUT_ANN, 'edid') + def report(self): + pass + def decode(self, ss, es, data): if type(data) != int: raise Exception('malformed ddc2 input: expected 1 byte') 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 |