mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-02-25 16:13:58 +08:00
fix output inversion in mandemod
This commit is contained in:
parent
dbf444a179
commit
fffad860fc
1 changed files with 2 additions and 1 deletions
|
@ -534,10 +534,11 @@ int CmdManchesterDemod(const char *Cmd)
|
||||||
int warnings = 0;
|
int warnings = 0;
|
||||||
|
|
||||||
/* check if we're inverting output */
|
/* check if we're inverting output */
|
||||||
if (*Cmd == 'i')
|
if (*(Cmd + 1) == 'i')
|
||||||
{
|
{
|
||||||
PrintAndLog("Inverting output");
|
PrintAndLog("Inverting output");
|
||||||
invert = 1;
|
invert = 1;
|
||||||
|
++Cmd;
|
||||||
do
|
do
|
||||||
++Cmd;
|
++Cmd;
|
||||||
while(*Cmd == ' '); // in case a 2nd argument was given
|
while(*Cmd == ' '); // in case a 2nd argument was given
|
||||||
|
|
Loading…
Reference in a new issue