]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmddata.c
marcan's patch until he gets commit access. Remove C library's includes from the...
[proxmark3-svn] / client / cmddata.c
index 05a375c5e1296cfc69ea34f70c968984ca005668..561132bf16113a15a10a2eb01588172e2dad54ce 100644 (file)
@@ -534,10 +534,11 @@ int CmdManchesterDemod(const char *Cmd)
   int warnings = 0;
 
   /* check if we're inverting output */
-  if (*Cmd == 'i')
+  if (*(Cmd + 1) == 'i')
   {
     PrintAndLog("Inverting output");
     invert = 1;
+    ++Cmd;
     do
       ++Cmd;
     while(*Cmd == ' '); // in case a 2nd argument was given
Impressum, Datenschutz