]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfops.c
Fix issues with commit 4197a3f on some linux distributions and old mingw environments...
[proxmark3-svn] / armsrc / lfops.c
index 35f220c0eff94bff4e504ca085e6b51fe1b57650..d79c75a0bf68784a3fcbc46ad5ac3ef158e64f08 100644 (file)
@@ -1626,9 +1626,9 @@ void EM4xReadWord(uint8_t Address, uint32_t Pwd, uint8_t PwdMode) {
        fwd_bit_count += Prepare_Addr( Address );
 
        SendForward(fwd_bit_count);
-
+       SpinDelayUs(400);
        // Now do the acquisition
-       DoPartialAcquisition(20, true, 5500);
+       DoPartialAcquisition(20, true, 6000);
        
        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); // field off
        LED_A_OFF();
@@ -1658,8 +1658,9 @@ void EM4xWriteWord(uint32_t flag, uint32_t Data, uint32_t Pwd) {
        //Wait for write to complete
        //SpinDelay(10);
 
+       SpinDelayUs(6500);
        //Capture response if one exists
-       DoPartialAcquisition(20, true, 5500);
+       DoPartialAcquisition(20, true, 6000);
 
        FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF); // field off
        LED_A_OFF();
Impressum, Datenschutz