]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - winsrc/prox.cpp
Add pretty field strength lights for ListenReaderField() also in LF mode.
[proxmark3-svn] / winsrc / prox.cpp
index e2c0a79cb38ce8cb7ef0a6fe8993d53f5cc893af..bbc9adbda78cf66beb5a0a3319b324b43b66152d 100644 (file)
@@ -194,6 +194,7 @@ void SendCommand(UsbCommand *c, BOOL wantAck)
 \r
        DWORD written;\r
        OVERLAPPED ov;\r
+\r
        memset(&ov, 0, sizeof(ov));\r
        WriteFile(UsbHandle, buf, 65, &written, &ov);\r
        if(GetLastError() != ERROR_IO_PENDING) {\r
@@ -229,8 +230,6 @@ static void FlushPrevious(void)
        UsbCommand c;\r
        memset(&c, 0, sizeof(c));\r
 \r
-       printf("expected = %08x flush, ", ExpectedAddr);\r
-\r
        int i;\r
        for(i = 0; i < 240; i += 48) {\r
                c.cmd = CMD_SETUP_WRITE;\r
@@ -241,7 +240,7 @@ static void FlushPrevious(void)
 \r
        c.cmd = CMD_FINISH_WRITE;\r
        c.ext1 = (ExpectedAddr-1) & (~255);\r
-       printf("c.ext1 = %08x\r", c.ext1);\r
+       printf("Flashing address: %08x\r", c.ext1);\r
        memcpy(c.d.asBytes, QueuedToSend+240, 16);\r
        SendCommand(&c, TRUE);\r
 \r
Impressum, Datenschutz