]> sigrok.org Git - libsigrokdecode.git/blobdiff - decoders/ddc.py
move sigrokdecode.Decoder type to its own source file
[libsigrokdecode.git] / decoders / ddc.py
index 395f72ff8bcb16643a205ae81c3de2379a3c1caf..f83909323b8b2a70d6d894f6e0db1a2ef22d91d4 100644 (file)
 ## along with this program; if not, If not, see <http://www.gnu.org/licenses/>.
 ##
 
-#
-# 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
-#
+'''
+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
+'''
 
 import sigrokdecode as srd
 
@@ -35,8 +33,6 @@ class Decoder(srd.Decoder):
     longname = 'Display Data Channel'
     desc = 'A protocol for communication between computers and displays.'
     longdesc = ''
-    author = 'Bert Vermeulen <bert@biot.com>'
-    email = '<bert@biot.com>'
     license = 'gplv3+'
     inputs = ['i2c']
     outputs = ['ddc']