]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlfsecurakey.c
optimization UDOL creation. does not affect on functionality.
[proxmark3-svn] / client / cmdlfsecurakey.c
index 87ebb25e9dc3a6c9ef60b52d2390911c40adb355..8ae81250fb06fb3b995ec048d937291b9eabb099 100644 (file)
@@ -44,7 +44,7 @@ int CmdSecurakeyDemod(const char *Cmd) {
        //ASK / Manchester
        bool st = false;
        if (!ASKDemod_ext("40 0 0", false, false, 1, &st)) {
-               if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
+               if (g_debugMode) PrintAndLog("DEBUG: Error - Securakey: ASK/Manchester Demod failed");
                return 0;
        }
        if (st) return 0;
@@ -64,7 +64,7 @@ int CmdSecurakeyDemod(const char *Cmd) {
                return 0;
        }
        setDemodBuf(DemodBuffer, 96, ans);
-       //setGrid_Clock(40);
+       setClockGrid(g_DemodClock, g_DemodStartIdx + (ans*g_DemodClock));
 
        //got a good demod
        uint32_t raw1 = bytebits_to_byte(DemodBuffer   , 32);
Impressum, Datenschutz