]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
fix build error on kali in new noralsy
authormarshmellow42 <marshmellowrf@gmail.com>
Tue, 28 Mar 2017 22:15:43 +0000 (18:15 -0400)
committermarshmellow42 <marshmellowrf@gmail.com>
Tue, 28 Mar 2017 22:15:43 +0000 (18:15 -0400)
client/cmdlfnoralsy.c

index e41dfd9ad148f0223ba5b4cd359396c1cdc4bbb7..e56ebf7f4a7a99e1b05a88455197f8fbff679eee 100644 (file)
@@ -118,7 +118,7 @@ int CmdNoralsyDemod(const char *Cmd) {
        bool st = DetectST_ext(DemodBuffer, &DemodBufferLen, &foundclk, &ststart, &stend);
        if (!st) return 0;
 
-       if (!ASKDemod_ext("32 0 0", FALSE, FALSE, 1, &st)) {
+       if (!ASKDemod_ext("32 0 0", false, false, 1, &st)) {
                if (g_debugMode) PrintAndLog("DEBUG: Error - Noralsy: ASK/Manchester Demod failed");
                return 0;
        }
@@ -176,7 +176,7 @@ int CmdNoralsyDemod(const char *Cmd) {
 
 int CmdNoralsyRead(const char *Cmd) {
        CmdLFRead("s");
-       getSamples("8000",TRUE);
+       getSamples("8000",true);
        return CmdNoralsyDemod(Cmd);
 }
 
Impressum, Datenschutz