#include "hitag2.h"
#include "string.h"
#include "BigBuf.h"
+#include "fpgaloader.h"
static bool bQuiet;
int lastbit;
bool bSkip;
int tag_sof;
- byte_t rx[HITAG_FRAME_LEN];
+ byte_t rx[HITAG_FRAME_LEN] = {0};
size_t rxlen=0;
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
// Clean up trace and prepare it for storing frames
- set_tracing(TRUE);
+ set_tracing(true);
clear_trace();
auth_table_len = 0;
FpgaDownloadAndGo(FPGA_BITSTREAM_LF);
// Clean up trace and prepare it for storing frames
- set_tracing(TRUE);
+ set_tracing(true);
clear_trace();
auth_table_len = 0;
bSuccessful = false;
// Clean up trace and prepare it for storing frames
- set_tracing(TRUE);
+ set_tracing(true);
clear_trace();
//DbpString("Starting Hitag reader family");
bSuccessful = false;
// Clean up trace and prepare it for storing frames
- set_tracing(TRUE);
+ set_tracing(true);
clear_trace();
//DbpString("Starting Hitag reader family");