From 4ef0ff313b3ac48d585f581593738c1a3e607f26 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Mon, 8 Sep 2014 11:48:05 +0200 Subject: rfm12: Drop debug printing. Any errors during decoding should be handled by the PD state machine. --- decoders/rfm12/pd.py | 6 +----- 1 file changed, 1 insertion(+), 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 = [], [] -- cgit v1.2.3-70-g09d2