From 776f7e61601a67f1613126cb133bd5bbf94a64c4 Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Sun, 14 Feb 2016 17:00:20 -0500 Subject: [PATCH] put back viking clone bug fix forgot i added this on a different computer recently - forgot to merge it in... --- client/cmdlfviking.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/cmdlfviking.c b/client/cmdlfviking.c index 5c0e590c..45e4b1d5 100644 --- a/client/cmdlfviking.c +++ b/client/cmdlfviking.c @@ -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 -- 2.39.5