X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/75465377b93c9a27450a186342e9cfd2a84b4173..0db11b71efad3781186cc2da9f31686a6562d065:/common/cmd.c diff --git a/common/cmd.c b/common/cmd.c index dae3a8da..02257ac0 100644 --- a/common/cmd.c +++ b/common/cmd.c @@ -32,9 +32,7 @@ #include "cmd.h" #include "string.h" -#include "../include/proxmark3.h" - -//static UsbCommand txcmd; +#include "proxmark3.h" bool cmd_receive(UsbCommand* cmd) { @@ -52,30 +50,32 @@ bool cmd_receive(UsbCommand* cmd) { } bool cmd_send(uint32_t cmd, uint32_t arg0, uint32_t arg1, uint32_t arg2, void* data, size_t len) { - UsbCommand txcmd; - for (size_t i=0; i