]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
fix: nice output..
[proxmark3-svn] / client / cmdhw.c
index 68e992765a4ea4c92a3578c12a25d72754a04aed..5ec0aa601eb8024676220ca340a1431930fb861b 100644 (file)
@@ -17,6 +17,7 @@
 #include "cmdparser.h"
 #include "cmdhw.h"
 #include "cmdmain.h"
+#include "cmddata.h"
 
 /* low-level hardware control */
 
@@ -390,9 +391,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