From: Uwe Hermann Date: Mon, 14 Apr 2014 21:09:43 +0000 (+0200) Subject: All PDs: Drop some unneeded comments. X-Git-Tag: libsigrokdecode-0.3.0~29 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=c761524941fcb2237ceb65082e504e5e48e62a05;p=libsigrokdecode.git All PDs: Drop some unneeded comments. --- diff --git a/decoders/avr_isp/pd.py b/decoders/avr_isp/pd.py index 0168875..5888d55 100644 --- a/decoders/avr_isp/pd.py +++ b/decoders/avr_isp/pd.py @@ -59,7 +59,6 @@ class Decoder(srd.Decoder): self.device_ss = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/can/pd.py b/decoders/can/pd.py index bcc4361..0687ea5 100644 --- a/decoders/can/pd.py +++ b/decoders/can/pd.py @@ -61,7 +61,6 @@ class Decoder(srd.Decoder): self.reset_variables() def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def metadata(self, key, value): diff --git a/decoders/dcf77/pd.py b/decoders/dcf77/pd.py index 69783c6..3dc1096 100644 --- a/decoders/dcf77/pd.py +++ b/decoders/dcf77/pd.py @@ -77,7 +77,6 @@ class Decoder(srd.Decoder): self.dcf77_bitnumber_is_known = 0 def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def metadata(self, key, value): diff --git a/decoders/guess_bitrate/pd.py b/decoders/guess_bitrate/pd.py index d2d7c39..ab698a9 100644 --- a/decoders/guess_bitrate/pd.py +++ b/decoders/guess_bitrate/pd.py @@ -46,7 +46,6 @@ class Decoder(srd.Decoder): self.bitwidth = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def metadata(self, key, value): diff --git a/decoders/ir_nec/pd.py b/decoders/ir_nec/pd.py index 53246dd..cef2b85 100644 --- a/decoders/ir_nec/pd.py +++ b/decoders/ir_nec/pd.py @@ -103,7 +103,6 @@ class Decoder(srd.Decoder): self.addr = self.cmd = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) self.active = 0 if self.options['polarity'] == 'active-low' else 1 self.old_ir = 1 if self.active == 0 else 0 diff --git a/decoders/jtag_stm32/pd.py b/decoders/jtag_stm32/pd.py index 0acedc8..2393086 100644 --- a/decoders/jtag_stm32/pd.py +++ b/decoders/jtag_stm32/pd.py @@ -136,7 +136,6 @@ class Decoder(srd.Decoder): # self.state = 'BYPASS' def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def handle_reg_bypass(self, cmd, bits): diff --git a/decoders/lm75/pd.py b/decoders/lm75/pd.py index 449916a..890ce0f 100644 --- a/decoders/lm75/pd.py +++ b/decoders/lm75/pd.py @@ -68,7 +68,6 @@ class Decoder(srd.Decoder): self.databytes = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/lpc/pd.py b/decoders/lpc/pd.py index 2ca6be1..abaeb90 100644 --- a/decoders/lpc/pd.py +++ b/decoders/lpc/pd.py @@ -152,7 +152,6 @@ class Decoder(srd.Decoder): self.ss_block = self.es_block = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putb(self, data): diff --git a/decoders/midi/pd.py b/decoders/midi/pd.py index 5845e03..1a553ea 100644 --- a/decoders/midi/pd.py +++ b/decoders/midi/pd.py @@ -46,7 +46,6 @@ class Decoder(srd.Decoder): self.es_block = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/mlx90614/pd.py b/decoders/mlx90614/pd.py index fec3334..4600754 100644 --- a/decoders/mlx90614/pd.py +++ b/decoders/mlx90614/pd.py @@ -39,7 +39,6 @@ class Decoder(srd.Decoder): self.data = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/mx25lxx05d/pd.py b/decoders/mx25lxx05d/pd.py index 1099953..105414e 100644 --- a/decoders/mx25lxx05d/pd.py +++ b/decoders/mx25lxx05d/pd.py @@ -109,7 +109,6 @@ class Decoder(srd.Decoder): self.data = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/mxc6225xu/pd.py b/decoders/mxc6225xu/pd.py index 67656a9..c7b0830 100644 --- a/decoders/mxc6225xu/pd.py +++ b/decoders/mxc6225xu/pd.py @@ -76,7 +76,6 @@ class Decoder(srd.Decoder): self.state = 'IDLE' def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/nunchuk/pd.py b/decoders/nunchuk/pd.py index 5eccd53..4136945 100644 --- a/decoders/nunchuk/pd.py +++ b/decoders/nunchuk/pd.py @@ -56,7 +56,6 @@ class Decoder(srd.Decoder): self.init_seq = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/pan1321/pd.py b/decoders/pan1321/pd.py index 9278ba0..2796fe2 100644 --- a/decoders/pan1321/pd.py +++ b/decoders/pan1321/pd.py @@ -44,7 +44,6 @@ class Decoder(srd.Decoder): self.ss_block = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/rtc8564/pd.py b/decoders/rtc8564/pd.py index 47bb5d5..bb72fdc 100644 --- a/decoders/rtc8564/pd.py +++ b/decoders/rtc8564/pd.py @@ -67,7 +67,6 @@ class Decoder(srd.Decoder): self.bits = [] def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/sdcard_spi/pd.py b/decoders/sdcard_spi/pd.py index f10e4a0..0850c30 100644 --- a/decoders/sdcard_spi/pd.py +++ b/decoders/sdcard_spi/pd.py @@ -116,7 +116,6 @@ class Decoder(srd.Decoder): self.cmd_str = '' def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def putx(self, data): diff --git a/decoders/tlc5620/pd.py b/decoders/tlc5620/pd.py index 7961154..1487f91 100644 --- a/decoders/tlc5620/pd.py +++ b/decoders/tlc5620/pd.py @@ -62,7 +62,6 @@ class Decoder(srd.Decoder): self.dac_select = self.gain = self.dac_value = None def start(self): - # self.out_python = self.register(srd.OUTPUT_PYTHON) self.out_ann = self.register(srd.OUTPUT_ANN) def handle_11bits(self):