]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/bootrom.c
CHG: using bitsend to determind the legic annotation in "hf list legic" makes false...
[proxmark3-svn] / bootrom / bootrom.c
index 8b052be7af3def73a0fde8cc1a895bbd4aa677bd..4437b9f2711287e3fac9a3afe3c53d02e602e722 100644 (file)
@@ -141,10 +141,10 @@ void UsbPacketReceived(uint8_t *packet, int len) {
                                // Wait until flashing of page finishes
                                uint32_t sr;
                                while(!((sr = AT91C_BASE_EFC0->EFC_FSR) & AT91C_MC_FRDY));
-                if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
-                    dont_ack = 1;
-                    cmd_send(CMD_NACK,sr,0,0,0,0);
-                }
+                               if(sr & (AT91C_MC_LOCKE | AT91C_MC_PROGE)) {
+                                       dont_ack = 1;
+                                       cmd_send(CMD_NACK,sr,0,0,0,0);
+                               }
                        }
                } break;
       
Impressum, Datenschutz