]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhw.c
CHG: some minor code cleanup.
[proxmark3-svn] / client / cmdhw.c
index 68e992765a4ea4c92a3578c12a25d72754a04aed..4f65fb8c2badddf4fe45cdc6bd6f4e73ad54cdde 100644 (file)
 #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 */
 
@@ -390,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