]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfindala.c
Merge pull request #256 from pwpiwi/fast_select
[proxmark3-svn] / client / cmdlfindala.c
index 1a1d2a06ecb85e865c7b31690ef3ba0d68fb1a56..8cb5f63d131cae415de77982d636d708d92d9e08 100644 (file)
@@ -34,16 +34,14 @@ int CmdIndalaDecode(const char *Cmd) {
        }
 
        if (!ans) {
        }
 
        if (!ans) {
-       if (g_debugMode) 
-               PrintAndLog("Error1: %i",ans);
+               if (g_debugMode) PrintAndLog("Error1: %i",ans);
                return 0;
        }
        uint8_t invert=0;
        size_t size = DemodBufferLen;
        int startIdx = indala26decode(DemodBuffer, &size, &invert);
        if (startIdx < 0 || size > 224) {
                return 0;
        }
        uint8_t invert=0;
        size_t size = DemodBufferLen;
        int startIdx = indala26decode(DemodBuffer, &size, &invert);
        if (startIdx < 0 || size > 224) {
-               if (g_debugMode)
-               PrintAndLog("Error2: %i",startIdx);
+               if (g_debugMode) PrintAndLog("Error2: %i",startIdx);
                return -1;
        }
        setDemodBuf(DemodBuffer, size, (size_t)startIdx);
                return -1;
        }
        setDemodBuf(DemodBuffer, size, (size_t)startIdx);
Impressum, Datenschutz