]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
FIX: a shot at fixing the "_" underscore problem in fileutils.c. This one uses _ifde...
[proxmark3-svn] / client / cmdhw.c
index 28cd01bad33d8c1defe6e4f448795514b9bfde45..642f63c55af6639a5ffc235a0c693051f6c98337 100644 (file)
@@ -391,23 +391,7 @@ int CmdSetMux(const char *Cmd)
 
 int CmdTune(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)
 }
 
 int CmdVersion(const char *Cmd)
Impressum, Datenschutz