]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdlf.c
ADD: @pivipw 's changes "making lua paths".
[proxmark3-svn] / client / cmdlf.c
index ba7d9cc8412f9ad58c78d01fd52a6d2fbdcfda9f..7b908e9f474b7f45a37ff471ec7bc1e95753b04e 100644 (file)
@@ -544,8 +544,9 @@ int CmdLFSetConfig(const char *Cmd) {
 }
 
 int CmdLFRead(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)) {
        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':
                        return usage_lf_read();
                case 's':
                case 'S':
-                       arg1 = true;
+                       arg1 = TRUE;
                        cmdp++;
                        break;
                case 't':
                case 'T':
                        cmdp++;
                        break;
                case 't':
                case 'T':
-                       thresholdRead = true;
+                       thresholdRead = TRUE;
                        cmdp++;
                        break;
                default:
                        cmdp++;
                        break;
                default:
Impressum, Datenschutz