summaryrefslogtreecommitdiff
path: root/decoders/i2cfilter
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2012-02-01 22:23:03 +0100
committerUwe Hermann <uwe@hermann-uwe.de>2012-02-01 23:18:25 +0100
commit156509ca42f0df2380c9f205f9aad337e1a07802 (patch)
tree84e010c7330c12f197228937324c03979ab7f598 /decoders/i2cfilter
parent94bbdb9a4146ec5eaa56411706dc92de3a92f2d8 (diff)
downloadlibsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.tar.gz
libsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.zip
srd: Move all protocol docs to __init__.py files.
Diffstat (limited to 'decoders/i2cfilter')
-rw-r--r--decoders/i2cfilter/__init__.py2
-rw-r--r--decoders/i2cfilter/i2cfilter.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/decoders/i2cfilter/__init__.py b/decoders/i2cfilter/__init__.py
index 6c5f1ec..e9a9ab6 100644
--- a/decoders/i2cfilter/__init__.py
+++ b/decoders/i2cfilter/__init__.py
@@ -18,6 +18,8 @@
##
'''
+Generic I2C filtering protocol decoder.
+
Takes input from the I2C protocol decoder and filters out traffic from/to
a single address on the I2C bus.
diff --git a/decoders/i2cfilter/i2cfilter.py b/decoders/i2cfilter/i2cfilter.py
index 4b88bef..da816e6 100644
--- a/decoders/i2cfilter/i2cfilter.py
+++ b/decoders/i2cfilter/i2cfilter.py
@@ -17,8 +17,9 @@
## along with this program; if not, see <http://www.gnu.org/licenses/>.
##
-import sigrokdecode as srd
+# Generic I2C filtering protocol decoder
+import sigrokdecode as srd
class Decoder(srd.Decoder):
api_version = 1