]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: 'LF IO FSKDEMOD' - no call to turn of the antenna when exit
authoriceman1001 <iceman@iuse.se>
Mon, 19 Dec 2016 11:51:21 +0000 (12:51 +0100)
committericeman1001 <iceman@iuse.se>
Mon, 19 Dec 2016 11:51:21 +0000 (12:51 +0100)
Thanks to @samyk

https://github.com/Proxmark/proxmark3/issues/203

armsrc/lfops.c

index 9919df0f266103459a984f18c108ad49c6b4bb95..16e55573951c7bd538048cd62f0dc7d6f135d649 100644 (file)
@@ -1106,7 +1106,7 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol)
                                if (ledcontrol) LED_A_OFF();
                                *high=code;
                                *low=code2;
-                               return;
+                               goto out;
                        }
                        code=code2=0;
                        version=facilitycode=0;
@@ -1115,6 +1115,8 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol)
 
                WDT_HIT();
        }
+OUT:   
+       FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);         
        DbpString("Stopped");
        if (ledcontrol) LED_A_OFF();
 }
Impressum, Datenschutz