#include <stdlib.h>
#include "proxmark3.h"
#include "apps.h"
-#include "cmd.h"
+#include "usb_cdc.h"
#include "util.h"
#include "hitag.h"
#include "string.h"
static byte_t pwdh0, pwdl0, pwdl1; //password bytes
static uint32_t rnd = 0x74124485; //randomnumber
static int test = 0;
-size_t blocknr;
bool end=false;
// Single bit Hitag2 functions: