diff options
Diffstat (limited to 'decoders/i2cfilter')
-rw-r--r-- | decoders/i2cfilter/__init__.py | 2 | ||||
-rw-r--r-- | decoders/i2cfilter/i2cfilter.py | 3 |
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 |