]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: `lf read` - forgot a var
authoriceman1001 <iceman@iuse.se>
Fri, 24 Feb 2017 13:17:36 +0000 (14:17 +0100)
committericeman1001 <iceman@iuse.se>
Fri, 24 Feb 2017 13:17:36 +0000 (14:17 +0100)
client/cmdlf.c

index ba7d9cc8412f9ad58c78d01fd52a6d2fbdcfda9f..7b908e9f474b7f45a37ff471ec7bc1e95753b04e 100644 (file)
@@ -544,8 +544,9 @@ int CmdLFSetConfig(const char *Cmd) {
 }
 
 int CmdLFRead(const char *Cmd) {
-       bool arg1 = false;
-       bool thresholdRead = false;     
+       bool errors = FALSE;
+       bool arg1 = FALSE;
+       bool thresholdRead = FALSE;     
        uint8_t cmdp = 0;
        while(param_getchar(Cmd, cmdp) != 0x00) {
                switch(param_getchar(Cmd, cmdp)) {
@@ -554,12 +555,12 @@ int CmdLFRead(const char *Cmd) {
                        return usage_lf_read();
                case 's':
                case 'S':
-                       arg1 = true;
+                       arg1 = TRUE;
                        cmdp++;
                        break;
                case 't':
                case 'T':
-                       thresholdRead = true;
+                       thresholdRead = TRUE;
                        cmdp++;
                        break;
                default:
Impressum, Datenschutz