]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Merge branch 'master' of https://github.com/iceman1001/proxmark3
authoriceman <iceman@iuse.se>
Tue, 9 Feb 2016 19:58:21 +0000 (20:58 +0100)
committericeman <iceman@iuse.se>
Tue, 9 Feb 2016 19:58:21 +0000 (20:58 +0100)
client/cmdlfviking.c

index b0fa3aad8a1a85b0eee7d2e93e69072fbc63639c..f717c3f9bf046528f19575296d0910462117058d 100644 (file)
@@ -53,6 +53,7 @@ uint64_t getVikingBits(uint32_t id) {
        ret     |= checksum;
        return ret;
 }
+
 //by marshmellow
 //see ASKDemod for what args are accepted
 int CmdVikingRead(const char *Cmd) {
@@ -80,7 +81,7 @@ int CmdVikingClone(const char *Cmd) {
 
        rawID = getVikingBits(id);
 
-       UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFF, Q5}};
+       UsbCommand c = {CMD_VIKING_CLONE_TAG,{rawID >> 32, rawID & 0xFFFFFFFF, Q5}};
        clearCommandBuffer();
     SendCommand(&c);
        //check for ACK
Impressum, Datenschutz