From: iceman1001 Date: Fri, 7 Oct 2016 17:15:08 +0000 (+0200) Subject: FIX: wrong log bytes... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/e4d57949dfd8ee457f10adc89c4aba641090e346?ds=inline;hp=b816886806bc301aad60573e9ba6c35c1bfe4ea5 FIX: wrong log bytes... --- diff --git a/armsrc/legicrf.c b/armsrc/legicrf.c index 6a1c3bae..4b4a6ff6 100644 --- a/armsrc/legicrf.c +++ b/armsrc/legicrf.c @@ -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); }