]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
lf search use new psk, small demod adjustments
[proxmark3-svn] / client / cmddata.c
index 53a3ce5f410e1d17a5e3e2cbc51b06210e7e873d..781ca50c10c19ead991e9bd5804647ff1bd09b87 100644 (file)
@@ -870,8 +870,12 @@ int PSKnrzDemod(const char *Cmd){
 // optional arguments - same as CmdpskNRZrawDemod (clock & invert)
 int CmdIndalaDecode(const char *Cmd)
 {
+       int ans;
+       if (strlen(Cmd)>0)
+               ans=PSKnrzDemod(Cmd);
+       else
+               ans=PSKnrzDemod("32");
 
-       int ans=PSKnrzDemod(Cmd);
        if (ans < 0){
                PrintAndLog("Error1: %d",ans);
                return 0;
Impressum, Datenschutz