]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: wrong log bytes...
authoriceman1001 <iceman@iuse.se>
Fri, 7 Oct 2016 17:15:08 +0000 (19:15 +0200)
committericeman1001 <iceman@iuse.se>
Fri, 7 Oct 2016 17:15:08 +0000 (19:15 +0200)
armsrc/legicrf.c

index 6a1c3baec0d64b467c82c69412bb2e7c22e08c83..4b4a6ff6abfa0a1027a6fabead1e27f9708ce01a 100644 (file)
@@ -217,7 +217,7 @@ void frame_sendAsReader(uint32_t data, uint8_t bits){
        COIL_PULSE(0);
        
        // log
-       uint8_t cmdbytes[] = {cmd_sz, BYTEx(cmd, 0), BYTEx(cmd, 1), BYTEx(cmd, 2), BYTEx(send, 0), BYTEx(send, 1) };
+       uint8_t cmdbytes[] = {bits, BYTEx(data,0), BYTEx(data,1), BYTEx(data,2) , BYTEx(send,0), BYTEx(send,1)};
        LogTrace(cmdbytes, sizeof(cmdbytes), starttime, GET_TICKS, NULL, TRUE);
 }
 
Impressum, Datenschutz