X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/7c5f70dd9f8805967628f429f96fe1159a8bb827..c2723575dedee5066c282f3428c43d4706ab8528:/common/cmd.c diff --git a/common/cmd.c b/common/cmd.c index 66b93990..02257ac0 100644 --- a/common/cmd.c +++ b/common/cmd.c @@ -32,7 +32,7 @@ #include "cmd.h" #include "string.h" -#include "../include/proxmark3.h" +#include "proxmark3.h" bool cmd_receive(UsbCommand* cmd) { @@ -50,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