X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/64d1b4efc932898dc250dbc5d8f7418e3643b27b..1b6cc9746e25e93b9c8d76e193af4796c942b167:/common/cmd.c diff --git a/common/cmd.c b/common/cmd.c index 0c3ecc1f..2111a8f5 100644 --- a/common/cmd.c +++ b/common/cmd.c @@ -31,8 +31,6 @@ */ #include "cmd.h" -#include "string.h" -#include "proxmark3.h" bool cmd_receive(UsbCommand* cmd) { @@ -50,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