mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-02 21:54:10 +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;
|
||||
|
||||
/* 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
|
||||
|
|
Loading…
Reference in a new issue