X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/02306bac2dc44bd1de5422f9db127b231cde304f..c9216a92aa50549dd3e6d014866e469d5c28c362:/client/cmdhw.c diff --git a/client/cmdhw.c b/client/cmdhw.c index 28cd01ba..5ec0aa60 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -15,9 +15,9 @@ #include "ui.h" #include "proxmark3.h" #include "cmdparser.h" -#include "cmddata.h" #include "cmdhw.h" #include "cmdmain.h" +#include "cmddata.h" /* low-level hardware control */ @@ -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

"); - 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)