X-Git-Url: https://vault307.fbx.one/gitweb/micorpython_ir.git/blobdiff_plain/a5c58e92f187b72111774f417d82238ec7e3b6eb..0dd5fa3ec131e728516643db26efc88bf843fc11:/ir_rx/mce.py diff --git a/ir_rx/mce.py b/ir_rx/mce.py index 218c859..c3e3849 100644 --- a/ir_rx/mce.py +++ b/ir_rx/mce.py @@ -56,9 +56,8 @@ class MCE(IR_RX): x += 1 + short self.verbose and print(bin(v)) - print(bin(v)) # TEST - #if not check(v): - #raise RuntimeError(self.BADDATA) + if not check(v): + raise RuntimeError(self.BADDATA) val = (v >> 6) & 0x3f addr = v & 0xf # Constant for all buttons on my remote ctrl = (v >> 4) & 3