minor fixes regaring the newly released patches from the pm3 community

plus removed old comments in cmdmain.c
This commit is contained in:
iceman1001 2014-12-17 22:26:16 +01:00
commit d3499d369d
7 changed files with 256 additions and 300 deletions

View file

@ -391,23 +391,7 @@ int CmdSetMux(const char *Cmd)
int CmdTune(const char *Cmd)
{
UsbCommand c = {CMD_MEASURE_ANTENNA_TUNING};
SendCommand(&c);
char cmdp = param_getchar(Cmd, 0);
if (cmdp == 'h' || cmdp == 'H') {
PrintAndLog("Usage: hw tune <p>");
PrintAndLog("");
PrintAndLog(" sample: hw tune");
PrintAndLog(" hw tune p");
return 0;
}
if ( cmdp == 'p' || cmdp == 'P'){
ShowGraphWindow();
CmdTuneSamples("");
}
return 0;
return CmdTuneSamples(Cmd);
}
int CmdVersion(const char *Cmd)