]> sigrok.org Git - libsigrokdecode.git/commitdiff
rfm12: Drop debug printing.
authorUwe Hermann <redacted>
Mon, 8 Sep 2014 09:48:05 +0000 (11:48 +0200)
committerUwe Hermann <redacted>
Mon, 8 Sep 2014 09:48:05 +0000 (11:48 +0200)
Any errors during decoding should be handled by the PD state machine.

decoders/rfm12/pd.py

index c4b54755d35020b948ae3f44466ecaad0f6b32ca..c82a898f8e062c87eb9c27dd27de947dc3e63aca 100644 (file)
@@ -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 = [], []