]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/scripts/mifare_autopwn.lua
Code improved for less memory
[proxmark3-svn] / client / scripts / mifare_autopwn.lua
index e68f7a75d188d915e142bb9b10e63341203f3b22..d743f21eb53a10ff0767da4947d59bf830ea15a0 100644 (file)
@@ -56,7 +56,7 @@ end
 -- @return if unsuccessfull : nil, error
 function wait_for_mifare()
        while not core.ukbhit() do
 -- @return if unsuccessfull : nil, error
 function wait_for_mifare()
        while not core.ukbhit() do
-               res, err = reader.read1443a()
+               res, err = reader.read14443a(false, true)
                if res then return res end
                -- err means that there was no response from card
        end
                if res then return res end
                -- err means that there was no response from card
        end
Impressum, Datenschutz