]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
FIX: this commit solves a sneaky bug in 'LF VIKING' commands. The getVikingBits...
[proxmark3-svn] / client / cmddata.c
index 55c2d1951ae886733bfeb03e16d1b28eec6cc0cd..2e363054b0e3e8a773fe6754773d91ee801c4184 100644 (file)
@@ -660,7 +660,7 @@ int CmdVikingDemod(const char *Cmd)
        //call lfdemod.c demod for Viking
        int ans = VikingDemod_AM(DemodBuffer, &size);
        if (ans < 0) {
-               if (g_debugMode) PrintAndLog("Error Viking_Demod %d", ans);
+               if (g_debugMode) PrintAndLog("Error Viking_Demod %d %s", ans, (ans == -5)?"[chksum error]":"");
                return 0;
        }
        //got a good demod
Impressum, Datenschutz