summaryrefslogtreecommitdiff
path: root/decoders/ddc.py
diff options
context:
space:
mode:
authorBert Vermeulen <bert@biot.com>2012-01-15 04:02:21 +0100
committerBert Vermeulen <bert@biot.com>2012-01-15 04:05:32 +0100
commit87998e973f16206be1391f87ccae7c2756baf353 (patch)
tree80620830945c5eab992052f0462c99de3ed38efc /decoders/ddc.py
parent451680f192b97d652fb02186f5201efa0d668a2a (diff)
downloadlibsigrokdecode-87998e973f16206be1391f87ccae7c2756baf353.tar.gz
libsigrokdecode-87998e973f16206be1391f87ccae7c2756baf353.zip
CLI: when invoked with only -a <pd>, the PD's documentation is shown.
Diffstat (limited to 'decoders/ddc.py')
-rw-r--r--decoders/ddc.py15
1 files changed, 6 insertions, 9 deletions
diff --git a/decoders/ddc.py b/decoders/ddc.py
index 123881f..2336159 100644
--- a/decoders/ddc.py
+++ b/decoders/ddc.py
@@ -16,16 +16,13 @@
## You should have received a copy of the GNU General Public License
## along with this program; if not, If not, see <http://www.gnu.org/licenses/>.
##
+"""
+This decoder extracts a DDC stream from an I2C session between a computer
+and a display device. The stream is output as plain bytes.
-#
-# DDC protocol decoder
-#
-# This decoder extracts a DDC stream from an I2C session between a computer
-# and a display device. The stream is output as plain bytes.
-#
-# Details:
-# https://en.wikipedia.org/wiki/Display_Data_Channel
-#
+Details:
+https://en.wikipedia.org/wiki/Display_Data_Channel
+"""
import sigrokdecode as srd