From 156509ca42f0df2380c9f205f9aad337e1a07802 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Wed, 1 Feb 2012 22:23:03 +0100 Subject: srd: Move all protocol docs to __init__.py files. --- decoders/i2cfilter/__init__.py | 2 ++ decoders/i2cfilter/i2cfilter.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'decoders/i2cfilter') 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 . ## -import sigrokdecode as srd +# Generic I2C filtering protocol decoder +import sigrokdecode as srd class Decoder(srd.Decoder): api_version = 1 -- cgit v1.2.3-70-g09d2