]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/hitagS.c
Update hitagS.c (#729)
[proxmark3-svn] / armsrc / hitagS.c
index 5fa6a9a143035013f5307f750c756dd3b27780d1..3c247d552958e7da6656dc9812d04671bcc7acd9 100644 (file)
@@ -1489,7 +1489,7 @@ void SimulateHitagSTag(bool tag_mem_supplied, byte_t* data) {
        //tag.TTFDR in response_bit[10] and response_bit[11]
        //tag.TTFM in response_bit[12] and response_bit[13]
        tag.LCON = ((con1 & 0x2) == 0x2) ? 1 : 0;
-       tag.LKP  = ((con1 & 0x2) == 0x1) ? 1 : 0;
+       tag.LKP  = ((con1 & 0x1) == 0x1) ? 1 : 0;
                
        //CON2
        tag.LCK7 = ((con2 & 0x80) == 0x80) ? 1 : 0;
Impressum, Datenschutz