X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/72e930ef3206224ae0ff0696a8a146a0b26268f7..33add1876412aca37722ccbce81583d45737a121:/client/cmdhw.c?ds=sidebyside diff --git a/client/cmdhw.c b/client/cmdhw.c index 68e99276..4f65fb8c 100644 --- a/client/cmdhw.c +++ b/client/cmdhw.c @@ -15,8 +15,10 @@ #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)