From: Martin Holst Swende Date: Thu, 29 Jan 2015 00:11:10 +0000 (+0100) Subject: Merge pull request #51 from marshmellow42/master X-Git-Tag: v2.0.0-rc1~37 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/63e420b572aec078c49d2ab446ddb4eb30cb0e70?hp=4c18913dd890bdcb947d832c0b0923b565ad1dd3 Merge pull request #51 from marshmellow42/master fix hid prox standalone bug --- diff --git a/armsrc/lfops.c b/armsrc/lfops.c index b703c3cd..7b6fa97a 100644 --- a/armsrc/lfops.c +++ b/armsrc/lfops.c @@ -706,6 +706,8 @@ void CmdHIDdemodFSK(int findone, int *high, int *low, int ledcontrol) } if (findone){ if (ledcontrol) LED_A_OFF(); + *high = hi; + *low = lo; return; } // reset @@ -753,6 +755,8 @@ void CmdEM410xdemod(int findone, int *high, int *low, int ledcontrol) } if (findone){ if (ledcontrol) LED_A_OFF(); + *high=lo>>32; + *low=lo & 0xFFFFFFFF; return; } } else{ @@ -819,6 +823,8 @@ void CmdIOdemodFSK(int findone, int *high, int *low, int ledcontrol) if (findone){ if (ledcontrol) LED_A_OFF(); //LED_A_OFF(); + *high=code; + *low=code2; return; } code=code2=0;