]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdmain.c
ADD: added a lot of ic ids to cmdhf15.c Thanks to Asper for the list.
[proxmark3-svn] / client / cmdmain.c
index b3f04e1048a60848a1d9b0d88eadae12fc1bce63..c18967ccf7a19613edf58cfdccf7c2cdf5ab7413 100644 (file)
@@ -47,7 +47,7 @@ static command_t CommandTable[] =
   {"hf",       CmdHF,          1, "{ High Frequency commands... }"},
   {"hw",       CmdHW,          1, "{ Hardware commands... }"},
   {"lf",       CmdLF,          1, "{ Low Frequency commands... }"},
-  {"script",   CmdScript,      1,"{ Scripting commands }"},
+  {"script",   CmdScript,      1, "{ Scripting commands }"},
   {"quit",     CmdQuit,        1, "Exit program"},
   {"exit",     CmdQuit,        1, "Exit program"},
   {NULL, NULL, 0, NULL}
@@ -140,7 +140,7 @@ bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeou
        // Wait until the command is received
        for(size_t dm_seconds=0; dm_seconds < ms_timeout/10; dm_seconds++) {
 
-               while(getCommand(response)) {
+               while (getCommand(response)) {
                        if(response->cmd == cmd){
                                return true;
                        }
Impressum, Datenschutz