diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-09-08 11:48:05 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-09-08 11:48:05 +0200 |
commit | 4ef0ff313b3ac48d585f581593738c1a3e607f26 (patch) | |
tree | 1a7503c447575f41cdbf2b6db4954e307ff48405 /decoders/rfm12 | |
parent | d44c802b7cd5a89fee9cdf294acb999d30dd2507 (diff) | |
download | libsigrokdecode-4ef0ff313b3ac48d585f581593738c1a3e607f26.tar.gz libsigrokdecode-4ef0ff313b3ac48d585f581593738c1a3e607f26.zip |
rfm12: Drop debug printing.
Any errors during decoding should be handled by the PD state machine.
Diffstat (limited to 'decoders/rfm12')
-rw-r--r-- | decoders/rfm12/pd.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/decoders/rfm12/pd.py b/decoders/rfm12/pd.py index c4b5475..c82a898 100644 --- a/decoders/rfm12/pd.py +++ b/decoders/rfm12/pd.py @@ -18,7 +18,6 @@ ## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ## -import traceback import sigrokdecode as srd class Decoder(srd.Decoder): @@ -489,10 +488,7 @@ class Decoder(srd.Decoder): self.row_pos = [0, 8, 8] - try: - self.handle_cmd(self.mosi_bytes, self.miso_bytes) - except: - traceback.print_exc() + self.handle_cmd(self.mosi_bytes, self.miso_bytes) self.mosi_bytes, self.miso_bytes = [], [] self.mosi_bits, self.miso_bits = [], [] |