]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
FIX: fixed a little bug I introduced from last commit in fskdemod
[proxmark3-svn] / client / cmddata.c
index e9499ed8dccd94e7317848eb94d0f9d1d09e6414..8d74750d98d094f52610bc31783acb43986cdc94 100644 (file)
@@ -220,12 +220,12 @@ int Cmdaskmandemod(const char *Cmd)
        PrintAndLog("ASK/Manchester decoded bitstream:");
 
        printBitStream(bits, len);
-       uint64_t lo = Em410xDecode(bits, len);
 
-       if (lo > 0){
-               SetGraphBuf(bits,len); 
-               PrintAndLog("EM410x pattern found: ");
-               printEM410x(lo);
+       uint64_t tagid = Em410xDecode(bits, len);
+
+       if (tagid > 0){
+               SetGraphBuf(bits, len); 
+               printEM410x(tagid);
                return 1;
        }
        return 0;
Impressum, Datenschutz