]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
Merge pull request #34 from marshmellow42/master
[proxmark3-svn] / client / cmdhw.c
index 4f0f3e38a9a6ddd2f109c0c995d30334af4bfbd2..443973b839f197c255afa19360aba0d2ccb4443c 100644 (file)
@@ -18,6 +18,7 @@
 #include "cmdparser.h"
 #include "cmdhw.h"
 #include "cmdmain.h"
+#include "cmddata.h"
 
 /* low-level hardware control */
 
@@ -391,9 +392,7 @@ int CmdSetMux(const char *Cmd)
 
 int CmdTune(const char *Cmd)
 {
-  UsbCommand c = {CMD_MEASURE_ANTENNA_TUNING};
-  SendCommand(&c);
-  return 0;
+    return CmdTuneSamples(Cmd);
 }
 
 int CmdVersion(const char *Cmd)
Impressum, Datenschutz