summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-09-08 11:48:05 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-09-08 11:48:05 +0200
commit4ef0ff313b3ac48d585f581593738c1a3e607f26 (patch)
tree1a7503c447575f41cdbf2b6db4954e307ff48405
parentd44c802b7cd5a89fee9cdf294acb999d30dd2507 (diff)
downloadlibsigrokdecode-4ef0ff313b3ac48d585f581593738c1a3e607f26.tar.gz
libsigrokdecode-4ef0ff313b3ac48d585f581593738c1a3e607f26.zip
rfm12: Drop debug printing.
Any errors during decoding should be handled by the PD state machine.
-rw-r--r--decoders/rfm12/pd.py6
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 = [], []