summaryrefslogtreecommitdiff
path: root/decoders/i2cdemux
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/i2cdemux
parent94bbdb9a4146ec5eaa56411706dc92de3a92f2d8 (diff)
downloadlibsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.tar.gz
libsigrokdecode-156509ca42f0df2380c9f205f9aad337e1a07802.zip
srd: Move all protocol docs to __init__.py files.
Diffstat (limited to 'decoders/i2cdemux')
-rw-r--r--decoders/i2cdemux/__init__.py7
-rw-r--r--decoders/i2cdemux/i2cdemux.py5
2 files changed, 7 insertions, 5 deletions
diff --git a/decoders/i2cdemux/__init__.py b/decoders/i2cdemux/__init__.py
index 83f7b12..445a88e 100644
--- a/decoders/i2cdemux/__init__.py
+++ b/decoders/i2cdemux/__init__.py
@@ -18,5 +18,12 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
+'''
+Generic I2C demultiplexing protocol decoder.
+
+Takes an I2C stream as input and outputs multiple I2C streams, each stream
+containing only I2C packets for one specific I2C slave.
+'''
+
from .i2cdemux import *
diff --git a/decoders/i2cdemux/i2cdemux.py b/decoders/i2cdemux/i2cdemux.py
index 354d06c..a597188 100644
--- a/decoders/i2cdemux/i2cdemux.py
+++ b/decoders/i2cdemux/i2cdemux.py
@@ -18,12 +18,7 @@
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
##
-#
# Generic I2C demultiplexing protocol decoder
-#
-# Takes an I2C stream as input and outputs multiple I2C streams, each stream
-# containing only I2C packets for one specific I2C slave.
-#
import sigrokdecode as srd