]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/epa.c
Power down the field before sending the USB ACK
[proxmark3-svn] / armsrc / epa.c
index 8ab4311cf3976c0a13801252e7a5fdcf62fee2a3..0e93a0561cd408f54c13b1cf8688d4a988ca19db 100644 (file)
@@ -217,12 +217,12 @@ static void EPA_PACE_Collect_Nonce_Abort(UsbCommand *ack, uint8_t step, int func
        ack->arg[0] = step;
        // last return code
        ack->arg[1] = func_return;
-       
-       // send the USB packet
-       UsbSendPacket((void *)ack, sizeof(UsbCommand));
 
        // power down the field
        EPA_Finish();
+       
+       // send the USB packet
+       UsbSendPacket((void *)ack, sizeof(UsbCommand));
 }
 
 //-----------------------------------------------------------------------------
Impressum, Datenschutz