]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
put back viking clone bug fix
authormarshmellow42 <marshmellowrf@gmail.com>
Sun, 14 Feb 2016 22:00:20 +0000 (17:00 -0500)
committermarshmellow42 <marshmellowrf@gmail.com>
Sun, 14 Feb 2016 22:00:20 +0000 (17:00 -0500)
forgot i added this on a different computer recently - forgot to merge
it in...

client/cmdlfviking.c

index 5c0e590c224c36b991d2cfbc720e91783908ec38..45e4b1d51f4265e4529631e3961dfec84dac65be 100644 (file)
@@ -74,8 +74,8 @@ int CmdVikingClone(const char *Cmd) {
                Q5 = true;
 
        rawID = getVikingBits(id);
-
-       UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFF, Q5}};
+       PrintAndLog("Cloning - ID: %08X, Raw: %08X%08X",id,(uint32_t)(rawID >> 32),(uint32_t) (rawID & 0xFFFFFFFF));
+       UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFFFFFF, Q5}};
        clearCommandBuffer();
        SendCommand(&c);
        //check for ACK
Impressum, Datenschutz