X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/76c7e6c36368c3fc23dc4fab1fe5852023c78fac..5381b6fed52da1b7d1d3d07bb176555e02903029:/common/cmd.c diff --git a/common/cmd.c b/common/cmd.c index dae3a8da..2111a8f5 100644 --- a/common/cmd.c +++ b/common/cmd.c @@ -31,10 +31,6 @@ */ #include "cmd.h" -#include "string.h" -#include "../include/proxmark3.h" - -//static UsbCommand txcmd; bool cmd_receive(UsbCommand* cmd) { @@ -52,30 +48,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