diff options
-rw-r--r-- | decoders/i2c.py | 2 | ||||
-rw-r--r-- | decoders/nunchuk.py | 2 | ||||
-rw-r--r-- | decoders/transitioncounter.py | 3 | ||||
-rw-r--r-- | decoders/uart.py | 2 |
4 files changed, 0 insertions, 9 deletions
diff --git a/decoders/i2c.py b/decoders/i2c.py index e082763..cf16d3a 100644 --- a/decoders/i2c.py +++ b/decoders/i2c.py @@ -323,8 +323,6 @@ class Decoder(sigrok.Decoder): super(Decoder, self).put(timeoffset, duration, output_id, data) def decode(self, timeoffset, duration, data): - """I2C protocol decoder""" - self.timeoffset = timeoffset self.duration = duration print("++", timeoffset, duration, len(data)) diff --git a/decoders/nunchuk.py b/decoders/nunchuk.py index cc1252c..d330747 100644 --- a/decoders/nunchuk.py +++ b/decoders/nunchuk.py @@ -110,8 +110,6 @@ class Decoder(sigrok.Decoder): pass def decode(self, timeoffset, duration, data): - """Nintendo Wii Nunchuk decoder""" - out = [] o = {} diff --git a/decoders/transitioncounter.py b/decoders/transitioncounter.py index 70f1f1a..846e9d9 100644 --- a/decoders/transitioncounter.py +++ b/decoders/transitioncounter.py @@ -68,9 +68,6 @@ class Decoder(sigrok.Decoder): pass def decode(self, timeoffset, duration, data): - """Counts the low->high and high->low transitions in the specified - channel(s) of the signal.""" - # We should accept a list of samples and iterate... for sample in sampleiter(data, self.unitsize): diff --git a/decoders/uart.py b/decoders/uart.py index 7a63d77..66deb5e 100644 --- a/decoders/uart.py +++ b/decoders/uart.py @@ -395,8 +395,6 @@ class Decoder(sigrok.Decoder): return o def decode(self, timeoffset, duration, data): - """UART protocol decoder""" - out = [] for sample in sampleiter(data, self.unitsize): |