]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iclass.c
Bugfixes for LF FDX
[proxmark3-svn] / armsrc / iclass.c
index d27fc1c6f70ff533fe94b70e0590aae541a8100f..83c9a75b76d9c6d6cc9d724fee8b223d5d67e546 100644 (file)
@@ -51,6 +51,7 @@
 #include "protocols.h"
 #include "optimized_cipher.h"
 #include "usb_cdc.h" // for usb_poll_validate_length
+#include "fpgaloader.h"
 
 static int timeout = 4096;
 
@@ -809,10 +810,7 @@ done:
     AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTDIS;
     Dbprintf("%x %x %x", maxBehindBy, Uart.state, Uart.byteCnt);
        Dbprintf("%x %x %x", Uart.byteCntMax, BigBuf_get_traceLen(), (int)Uart.output[0]);
-    LED_A_OFF();
-    LED_B_OFF();
-    LED_C_OFF();
-    LED_D_OFF();
+    LEDsoff();
 }
 
 void rotateCSN(uint8_t* originalCSN, uint8_t* rotatedCSN) {
Impressum, Datenschutz