]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfawid.c
Merge pull request #227 from pwpiwi/client_fixes
[proxmark3-svn] / client / cmdlfawid.c
index 309f41180223cc80f04857c05167491b26bf1cea..1ace6bea23a0efb22db405842b1fda691a2c100f 100644 (file)
@@ -140,7 +140,7 @@ int CmdAWIDClone(const char *Cmd) {
        if (sscanf(Cmd, "%u %u", &fc, &cn ) != 2) return usage_lf_awid_clone();
 
        if (param_getchar(Cmd, 3) == 'Q' || param_getchar(Cmd, 3) == 'q')
-               blocks[0] = T5555_MODULATION_FSK2 | T5555_INVERT_OUTPUT | 50<<T5555_BITRATE_SHIFT | 3<<T5555_MAXBLOCK_SHIFT;
+               blocks[0] = T5555_MODULATION_FSK2 | T5555_INVERT_OUTPUT | ((50-2)>>1)<<T5555_BITRATE_SHIFT | 3<<T5555_MAXBLOCK_SHIFT;
 
        if ((fc & 0xFF) != fc) {
                fc &= 0xFF;
Impressum, Datenschutz